Fixing mobile version menu.
This commit is contained in:
parent
379072fa87
commit
6447a80b2b
@ -190,15 +190,18 @@ body {
|
||||
}
|
||||
}
|
||||
a.menu-expand {
|
||||
position: relative;
|
||||
float: right;
|
||||
padding-bottom: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
nav.mobile-shortcuts {
|
||||
position: fixed;
|
||||
background: $background_div;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
div {
|
||||
width: 65%;
|
||||
background: $background_div;
|
||||
}
|
||||
}
|
||||
nav.desktop {
|
||||
display: none;
|
||||
|
@ -30,9 +30,12 @@
|
||||
%></nav>
|
||||
<nav class="mobile-shortcuts">
|
||||
<a class="go-to-index" href="<%='/'.$categories->{index}{slug}%>"><%== $categories->{index}{menu_text} %></a>
|
||||
<div></div>
|
||||
<a href="#mobile-foldable" class="menu-expand"><img class="open-menu-icon" src="/img/menu.png" alt="Expandir el menú."/></a>
|
||||
</nav>
|
||||
<nav class="mobile-foldable" id="mobile-foldable"><% for my $category_key (sort {
|
||||
<nav class="mobile-foldable" id="mobile-foldable"><%
|
||||
my $first = 1;
|
||||
for my $category_key (sort {
|
||||
$categories->{$a}{priority} <=> $categories->{$b}{priority}
|
||||
} keys %$categories) {
|
||||
my $category = $categories->{$category_key};
|
||||
|
Loading…
Reference in New Issue
Block a user