File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
packs/stylesheets/decidim Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -334,10 +334,6 @@ header {
334
334
& __dropdown-trigger {
335
335
@apply flex items-center justify-between text-white ;
336
336
337
- span {
338
- @apply flex flex-wrap md :flex- nowrap gap- x- 2.5 overflow- hidden text- white;
339
- }
340
-
341
337
svg {
342
338
@apply w-6 h-6 fill-current ;
343
339
}
Original file line number Diff line number Diff line change 1
1
<% dropdown_item = breadcrumb_items.select { |item| item[:dropdown_cell].present? }.last %>
2
2
<div class ="menu-bar__breadcrumb-mobile__dropdown-trigger ">
3
- < span >
4
- <% breadcrumb_items . last ( 2 ) . each_with_index do |item , i | %>
5
- <% item_label = decidim_escape_translated ( item [ :label ] ) . html_safe %>
6
- <% if i . positive? %>
3
+ < span class =" inline-block w-full overflow-hidden text-ellipsis align-middle " >
4
+ <% breadcrumb_items . last ( 2 ) . each_with_index do |item , idx | %>
5
+ <% item_label = decidim_escape_translated ( item [ :label ] ) %>
6
+ <% if idx . positive? %>
7
7
< span > /</ span >
8
8
<% end %>
9
- < span class ="cursor-pointer <%= " truncate" if i . positive? %> " <%== 'aria-current="page"' if item [ :active ] %> >
9
+ < span class ="cursor-pointer truncate " <%== 'aria-current="page"' if item [ :active ] %> >
10
10
<% if item [ :url ] . present? && !is_active_link? ( item [ :url ] , :exclusive ) %>
11
11
<%= link_to ( item_label , item [ :url ] ) %>
12
12
<% else %>
You can’t perform that action at this time.
0 commit comments