fix: add max-width to panel in landscape mode
In some situation in mobile (eg. when the keyboard is used), the screen is still considered as landscape, but it is very small, so make sure the panel does not overflow on the right. cf #1788
This commit is contained in:
parent
49b240a3db
commit
c40b01fc48
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-top: var(--panel-gutter);
|
margin-top: var(--panel-gutter);
|
||||||
width: var(--panel-width);
|
width: var(--panel-width);
|
||||||
|
max-width: calc(100% - var(--panel-gutter) * 2 - var(--control-size))
|
||||||
}
|
}
|
||||||
.panel.condensed {
|
.panel.condensed {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
|
|
Loading…
Reference in a new issue