[15-min fix] Show the navigation options regardless of screen size (#14313)
* Show the navigation options regardless of screen size * Add link back to forem homepage for small screens * Fix link URL + add small padding * Remove padding class
This commit is contained in:
parent
7a48708156
commit
1826e50564
1 changed files with 7 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
<div class="crayons-layout crayons-layout--2-cols">
|
||||
<div class="admin__left-sidebar crayons-layout__left-sidebar" data-controller="sidebar" data-action="load@window->sidebar#disableCurrentNavItem">
|
||||
<nav class="hidden m:block">
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="crayons-link crayons-link--block <%= "crayons-link--current" if controller.controller_name == "overview" %>" href="<%= admin_path %>" aria-current "<%= "page" if controller.controller_name == "overview" %>">
|
||||
|
|
@ -61,6 +61,12 @@
|
|||
</a>
|
||||
</li>
|
||||
<%= render "admin/shared/nested_sidebar", menu_items: AdminMenu.navigation_items %>
|
||||
<li class="block s:hidden">
|
||||
<a class="crayons-link crayons-link--block" href="/">
|
||||
<%= inline_svg_tag("website.svg", aria: true, class: "dropdown-icon crayons-icon") %>
|
||||
Go to <%= community_name %> home page
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue