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;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.truncate {
|
||||
max-width: 150px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-left: -10px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.atwho-view-ul {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@
|
|||
<% if repository.shared_with?(current_team) %>
|
||||
<i class="sn-icon sn-icon-user-menu-friends"></i>
|
||||
<% 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>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue