From 9d31faa533f1db7dbb15eca28e1de6b8cab80393 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 23 Apr 2019 19:52:00 +0800 Subject: [PATCH] Fix language dropdown for mobile (fix #39) --- resources/assets/src/styles/common.styl | 2 +- resources/assets/src/styles/home.styl | 7 +++++++ resources/views/index.blade.php | 3 --- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/resources/assets/src/styles/common.styl b/resources/assets/src/styles/common.styl index df8b4826..5a88c450 100644 --- a/resources/assets/src/styles/common.styl +++ b/resources/assets/src/styles/common.styl @@ -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 diff --git a/resources/assets/src/styles/home.styl b/resources/assets/src/styles/home.styl index 936be5c7..fc88f6a1 100644 --- a/resources/assets/src/styles/home.styl +++ b/resources/assets/src/styles/home.styl @@ -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 diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index ea4ff8b9..8aa5ea23 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -22,9 +22,6 @@