File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
packs/stylesheets/decidim Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -332,10 +332,6 @@ header {
332
332
& __dropdown-trigger {
333
333
@apply flex items-center justify-between text-white ;
334
334
335
- span {
336
- @apply flex flex-wrap md :flex- nowrap gap- x- 2.5 overflow- hidden text- white;
337
- }
338
-
339
335
svg {
340
336
@apply w-6 h-6 fill-current ;
341
337
}
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 | %>
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
5
<% item_label = decidim_escape_translated ( item [ :label ] ) %>
6
- <% if i . positive? %>
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