Skip to content

A platform for community discussion. Free, open, simple.

UX: remove chat sidebar background on narrow screens for Horizon (#37886)

Kris928778fe9bf7
diff --git a/themes/horizon/scss/main.scss b/themes/horizon/scss/main.scss
index 9b1efc22070..1de76aad090 100644
--- a/themes/horizon/scss/main.scss
+++ b/themes/horizon/scss/main.scss
@@ -29,6 +29,10 @@ body {
body.has-sidebar-page.has-full-page-chat #main-outlet-wrapper {
column-gap: var(--main-grid-gap);
background-color: var(--background-color);
+
+ @include viewport.until(lg) {
+ background-color: var(--secondary);
+ }
}
body.has-full-page-chat:not(.has-sidebar-page) {
diff --git a/themes/horizon/scss/sidebar.scss b/themes/horizon/scss/sidebar.scss
index 75fcd8e4e80..1194de6ad9b 100644
--- a/themes/horizon/scss/sidebar.scss
+++ b/themes/horizon/scss/sidebar.scss
@@ -5,6 +5,7 @@
var(--space-4);
}
+body.has-full-page-chat .sidebar-wrapper,
.sidebar-wrapper,
.sidebar-hamburger-dropdown {
@include viewport.until(lg) {