mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 17:13:43 +08:00
5a3afa0505
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.
17 lines
314 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|
|
}
|