diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2015-10-27 16:49:57 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2015-10-27 16:49:57 +0000 |
commit | 6713c872254cb9ee55b73ba16c5bd8f16432da76 (patch) | |
tree | bfae69e393b0097e287bb74c208fc664af4e5eee | |
parent | 46d9af2bb2ab58e4325391eea797d48b74198bc5 (diff) |
Base language switcher position on $logo-width
Now, when you define a wide logo, the language switcher
will move to accommodate it.
-rw-r--r-- | assets/stylesheets/responsive/custom.scss | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index c26154b..12bf0b7 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -345,8 +345,6 @@ a.link_button_green_large { background-color: $color_primary; @include respond-min($main_menu-mobile_menu_cutoff) { background-color: transparent; - right: auto; - top: 1.5em; } } @@ -355,8 +353,9 @@ a.link_button_green_large { border-bottom: 0; @include respond-min($main_menu-mobile_menu_cutoff) { position: absolute; - left: 160px; - top: 0.8em; + left: ($logo-width + 40px); + top: 2.2em; + right: auto; } .locale-list-trigger { margin-bottom: 0; |