discourse/plugins/chat/assets/stylesheets/desktop/chat-channel.scss
Joffrey JAFFEUX 5a3afa0505
UI: hides channel with visible panel on narrow screen (#29541)
This commit will hide the channel when the side panel is present and the width of the viewport is less than 1000px. This is especially useful when you want to focus reading a thread on a small screen.

This change only impacts desktops.
2024-11-28 11:58:36 +01:00

17 lines
314 B
SCSS

@include breakpoint(large) {
.main-chat-outlet.has-side-panel-expanded {
.c-routes.--channel {
display: none;
}
.chat-side-panel {
width: 100% !important; // overrides the inline auto width
border: none;
.chat-side-panel-resizer {
display: none;
}
}
}
}