A platform for community discussion. Free, open, simple.
UX: Horizon banner adjustments (#35894)
Jordan Vidrine1b9fcb11f936
diff --git a/themes/horizon/common/common.scss b/themes/horizon/common/common.scssindex 978db91ade8..99cdf02f827 100644--- a/themes/horizon/common/common.scss+++ b/themes/horizon/common/common.scss@@ -1,4 +1,3 @@-@import "box-view";@import "buttons";@import "chat";@import "categories-view";@@ -6,6 +5,7 @@@import "compatibility";@import "composer";@import "composer-peek-mode";+@import "experimental-screen";@import "header";@import "hiddenstuff";@import "login";diff --git a/themes/horizon/scss/box-view.scss b/themes/horizon/scss/experimental-screen.scsssimilarity index 98%rename from themes/horizon/scss/box-view.scssrename to themes/horizon/scss/experimental-screen.scssindex 17aad07eb1d..22a6cc49324 100644--- a/themes/horizon/scss/box-view.scss+++ b/themes/horizon/scss/experimental-screen.scss@@ -79,12 +79,12 @@}&__top-left {- top: var(--header-offset);+ top: var(--main-outlet-offset);left: var(--left-distance);}&__top-right {- top: var(--header-offset);+ top: var(--main-outlet-offset);transform: rotate(90deg);left: calc(var(--right-distance) - var(--d-border-radius-large));}diff --git a/themes/horizon/scss/welcome-banner.scss b/themes/horizon/scss/welcome-banner.scssindex 85a838bab69..e34a3e31c99 100644--- a/themes/horizon/scss/welcome-banner.scss+++ b/themes/horizon/scss/welcome-banner.scss@@ -2,7 +2,6 @@.welcome-banner {&.--location-below-site-header {- background-color: var(--background-color);border-radius: 0;@include viewport.until(lg) {@@ -39,11 +38,8 @@.--location-below-site-header & {border-bottom: 0;- padding: var(--space-4) var(--space-4) var(--space-8);-- @include viewport.from(xl) {- margin-left: max(var(--d-sidebar-width), var(--space-4));- }+ padding: var(--space-8);+ margin: 0 var(--main-grid-gap) var(--space-2);@include viewport.until(lg) {padding: var(--space-8) var(--space-4) var(--space-8);