mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Better behavior on narrow screens
On media (screens) narrower than 420 pixels, the toolbar buttons are hidden. Before this change, when made visible they were laid out in two rows. This change places them in a single row and provides some vertical spacing from the search-box.
This commit is contained in:
@ -51,9 +51,8 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
#kiwix_button_show_toggle:checked~label~.kiwix_button_cont,
|
||||
#kiwix_button_show_toggle:checked~label~.kiwix_button_cont>a {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#kiwix_button_show_toggle:not(:checked)~label~.kiwix_button_cont {
|
||||
@ -183,4 +182,8 @@ a.suggest, a.suggest:visited, a.suggest:hover, a.suggest:active {
|
||||
.kiwix_searchform {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.kiwix_button_cont {
|
||||
padding-top: 5px;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user