mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 15:31:02 +08:00
using tailwind
This commit is contained in:
parent
3932b22cd4
commit
f99db28760
2 changed files with 3 additions and 10 deletions
|
|
@ -40,15 +40,6 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.truncate {
|
|
||||||
max-width: 150px;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
margin-left: -10px;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.atwho-view-ul {
|
.atwho-view-ul {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@
|
||||||
<% if repository.shared_with?(current_team) %>
|
<% if repository.shared_with?(current_team) %>
|
||||||
<i class="sn-icon sn-icon-user-menu-friends"></i>
|
<i class="sn-icon sn-icon-user-menu-friends"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="truncate"><%= repository.name %></div>
|
<div class="max-w-[150px] overflow-hidden whitespace-nowrap ml-[-10px] text-left truncate">
|
||||||
|
<%= repository.name %>
|
||||||
|
</div>
|
||||||
</button>
|
</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue