Browse Source

Prevent chat from being compressed in narrow screens

When the sidebar is shown the app content is compressed to make room for
the sidebar. In narrow screens (and specially in very narrow screens)
this broke the appearance of the app content (unreadable chat, unusable
call view), so now the app content is forced to keep the full viewport
width on narrow screens; this causes the sidebar to slide over the app
content instead of compressing it.

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
pull/1952/head
Marco Ambrosini 6 years ago
committed by Daniel Calviño Sánchez
parent
commit
0ba582b8cd
  1. 7
      css/style.scss

7
css/style.scss

@ -53,6 +53,13 @@
overflow: hidden;
flex-grow: 1;
@media (max-width: $breakpoint-mobile) {
/* In narrow screens force the app content width to the full viewport
* width to prevent the app content from being compressed when the
* sidebar is shown. */
width: 100vw;
}
}
.contactsmenu-popover li > a > img {

Loading…
Cancel
Save