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