break long names in template and folder titles

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-07-30 16:45:56 +03:00
1 parent d56070827b
commit 59fe8a7917
4 files changed
+4 -4

No files matched your search

+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 %>