Fix language dropdown for mobile (fix #39)

This commit is contained in:
Pig Fang 2019-04-23 19:52:00 +08:00
parent 168413b710
commit 9d31faa533
3 changed files with 8 additions and 4 deletions

View File

@ -98,7 +98,7 @@ body, h1, h2, h3, h4, h5, h6
margin 6px 15px 5px 0
@media (max-width: 767px)
.wrapper .main-header .navbar .dropdown-menu li.locale
.dropdown-menu > li.locale
a
color #777

View File

@ -29,6 +29,13 @@ body
a.btn.btn-login:hover, a.btn.btn-login:focus
background-color #006acc !important
li.locale
a
color #777
a:hover
background-color #e1e3e9
color #333
.navbar-brand
font-family Minecraft, 'Segoe UI', 'Microsoft Yahei', 'Microsoft Jhenghei', sans-serif
border-right 0

View File

@ -22,9 +22,6 @@
<div class="container">
<div class="navbar-header">
<a href="{{ option('site_url') }}" class="navbar-brand">{{ option_localized('site_name') }}</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<i class="fas fa-bars"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->