diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-01-21 16:43:33 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2016-01-21 16:43:33 +0000 |
commit | bc9f4e7b039c88f3334640a65e8814a16cec53eb (patch) | |
tree | 1641baa4844b2029a9b33d331094b2e9da821160 /assets | |
parent | 4460a1dc36006f8c2f03d576403d06ee7be4e96e (diff) |
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.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/stylesheets/responsive/custom.scss | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |