From bc9f4e7b039c88f3334640a65e8814a16cec53eb Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Thu, 21 Jan 2016 16:43:33 +0000 Subject: Update for compatibility with new core user nav styles The "logged_in_bar" in the core theme now has a set width, and uses absolute positioning to vertically align its children. Since Alavetelitheme moves the language picker to the left, we no longer need to leave 2em of vertical space for it in this theme. Part of mysociety/alaveteli#2989. --- assets/stylesheets/responsive/custom.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 12bf0b7..6b8ddbd 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -321,6 +321,10 @@ a.link_button_green_large { /* Logged and local options act like submenus */ #logged_in_bar{ + @include respond-min($main_menu-mobile_menu_cutoff) { + top: 0; + } + a { @extend %menu-item; background-color: transparent; @@ -333,7 +337,6 @@ a.link_button_green_large { } } #logged_in_links { - top: 2em; a { font-weight: normal; } -- cgit v1.2.3