using tailwind

This commit is contained in:
Giga Chubinidze 2023-10-03 11:04:38 +04:00
parent 3932b22cd4
commit f99db28760
2 changed files with 3 additions and 10 deletions

View file

@ -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 {

View file

@ -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>