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

View file

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