changeset 42fb1b867262 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=42fb1b867262
description:
Split dropdown menu of tab using the screen height
The split should depend on the height of the screen and not the width
because
it does not have a scrollbar when it is too long.
issue8292
review263371002
diffstat:
src/sao.less | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r c9c4f1426d34 -r 42fb1b867262 src/sao.less
--- a/src/sao.less Mon May 13 22:38:11 2019 +0200
+++ b/src/sao.less Wed May 22 18:34:39 2019 +0200
@@ -100,11 +100,14 @@
}
}
-@media screen and (max-width: @screen-xs-max) {
+@media screen and (max-height: 750px) {
.tab-form, .tab-board {
- .navbar-header > ul > li {
- float: left;
- width: 50%;
+ .navbar-header > ul {
+ min-width: 320px;
+ > li {
+ float: left;
+ width: 50%;
+ }
}
}
}