Bug 21814: (follow-up) System preferences save button can be hidden by language menu

This follow-up implements the same change by defining a variable to be
used as the minimum height of the language footer navbar. A calculation
is done on this value to set the bottom margin of the main area of the
page.

To test, apply the patch and rebuild the staff client CSS. Clear your
browser cache if necessary. View the system preferences page again and
confirm that the bug is still fixed.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2018-11-15 17:20:52 +00:00 committed by Nick Clemens
parent f03a4ca852
commit a353b513cf
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
$font-main: Arial, Verdana, Helvetica, sans-serif;
$font-monospace: "Courier New", Courier, monospace;
$language-footer-min-height: 20px;
@mixin default-button {
background: linear-gradient(to bottom, #FFFFFF 0%, #F7F7F7 35%, #E0E0E0 100%);
@ -582,8 +583,8 @@ label,
}
.main {
margin-bottom: $language-footer-min-height * 1.5;
margin-top: 1em;
margin-bottom: 3em;
}
#login_controls {
@ -3311,6 +3312,8 @@ button,
}
#changelanguage {
min-height: $language-footer-min-height;
.dropdown-menu {
> li {
> a,