break long names in template and folder titles

This commit is contained in:
Alex Turchyn
2026-07-28 23:58:27 +03:00
committed by Pete Matsyburka
parent d56070827b
commit 59fe8a7917
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<% if !is_long %>
<%= svg_icon(icon, class: 'w-6 h-6') %>
<% end %>
<div class="text-lg font-semibold mt-1" style="overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: <%= is_long ? 2 : 1 %>;">
<div class="text-lg font-semibold mt-1 break-all" style="overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: <%= is_long ? 2 : 1 %>;">
<% if is_long %>
<%= svg_icon(icon, class: 'w-6 h-6 inline') %>
<% end %>