Skip to content

Commit

Permalink
Removed redundant overflow-hidden, added y-axis auto scroll as with b…
Browse files Browse the repository at this point in the history
…ig number of stores some of them might be trimmed together with button
  • Loading branch information
Artem0nster committed Sep 12, 2024
1 parent 0e7b206 commit c021655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/spree/admin/shared/_store_switcher.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<span class="d-none d-sm-inline"><%= current_store.name %></span> (<%= current_store.code %>) <%= svg_icon name: "chevron-down.svg", width: '12', height: '12', classes: 'ml-1 mb-0' %>
</a>

<div class="dropdown-menu dropdown-menu-left overflow-hidden ml-2" aria-labelledby="storeSelectorDropdown">
<div class="dropdown-menu dropdown-menu-left ml-2" style="overflow-y: auto !important;" aria-labelledby="storeSelectorDropdown">
<% @stores.each do |store| %>
<%= store_switcher_link(store) %>
<% end %>
Expand Down

0 comments on commit c021655

Please sign in to comment.