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.
This commit is contained in:
parent
f69f0211df
commit
5a3afa0505
|
@ -0,0 +1,16 @@
|
|||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
@import "chat-composer-uploads";
|
||||
@import "chat-index-drawer";
|
||||
@import "chat-index-full-page";
|
||||
@import "chat-channel";
|
||||
@import "chat-message-actions";
|
||||
@import "chat-message";
|
||||
@import "chat-channel-info";
|
||||
|
|
Loading…
Reference in New Issue