Skip to content

Commit

Permalink
Update _language_chooser.html.erb
Browse files Browse the repository at this point in the history
Because of the hide-for-medium, the language chooser would still appear in the hamburger menu on mobile. Without this code snippet, it behaves as it should - always be visible in the navbar.
  • Loading branch information
simonaszilinskas authored Jun 17, 2024
1 parent d534f07 commit a6f1da6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/views/layouts/decidim/_language_chooser.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,4 @@
<div class="topbar__dropmenu language-choose g-language-choose show-for-medium" data-set="language-holder">
<div class="js-append" id="google_translate_element"></div>
</div>
<div class="g-language-choose-medium hide-for-medium" data-set="language-holder">
<div class="js-append" id="google_translate_element"></div>
</div>
<% end %>

0 comments on commit a6f1da6

Please sign in to comment.