mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix(sidebar): Bottom section not showing in mobile
This commit is contained in:
parent
2cda779706
commit
385602d482
@ -127,7 +127,7 @@
|
||||
}
|
||||
|
||||
/* Menu style */
|
||||
.menu {
|
||||
#main-menu {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
flex-direction: column;
|
||||
@ -200,13 +200,17 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-bottom-section {
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
||||
ol {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
<li>
|
||||
<div class="menu-bottom-section">
|
||||
<ol class="menu">
|
||||
{{- $currentLanguageCode := .Language.Lang -}}
|
||||
@ -100,4 +100,6 @@
|
||||
{{ end }}
|
||||
</ol>
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
</aside>
|
||||
|
Loading…
Reference in New Issue
Block a user