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:
Yohan Boniface 2024-05-02 12:15:27 +02:00
parent 49b240a3db
commit c40b01fc48

View file

@ -90,6 +90,7 @@
top: 0;
margin-top: var(--panel-gutter);
width: var(--panel-width);
max-width: calc(100% - var(--panel-gutter) * 2 - var(--control-size))
}
.panel.condensed {
max-height: 500px;