A platform for community discussion. Free, open, simple.
UX: remove margin from navigation-controls children in favor of gap (#34771)
Kris911ee09ea134
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scssindex 15c73b59b52..7fb5edda015 100644--- a/app/assets/stylesheets/common/base/_topic-list.scss+++ b/app/assets/stylesheets/common/base/_topic-list.scss@@ -19,14 +19,10 @@flex-wrap: wrap;align-items: stretch;margin-bottom: var(--nav-space);- gap: var(--nav-space) 0; // used if the buttons wrap+ gap: var(--nav-space) 0.5em;> * {white-space: nowrap;-- &:not(:last-child) {- margin-right: var(--space-2);- }}.select-kit-header {diff --git a/app/assets/stylesheets/common/components/drafts-dropdown-menu.scss b/app/assets/stylesheets/common/components/drafts-dropdown-menu.scssindex b30eac8e6e4..c22f166859e 100644--- a/app/assets/stylesheets/common/components/drafts-dropdown-menu.scss+++ b/app/assets/stylesheets/common/components/drafts-dropdown-menu.scss@@ -1,6 +1,6 @@// Styles for the drafts dropdown menu.topic-drafts-menu-trigger {- margin-left: -0.3em;+ margin-left: -0.25em;}.topic-drafts-menu-content {diff --git a/themes/horizon/scss/mobile-stuff.scss b/themes/horizon/scss/mobile-stuff.scssindex e6249ebdb2e..369f6c188cb 100644--- a/themes/horizon/scss/mobile-stuff.scss+++ b/themes/horizon/scss/mobile-stuff.scss@@ -85,12 +85,6 @@margin-bottom: 0;}}-- .navigation-controls {- @include viewport.until(sm) {- gap: var(--space-2);- }- }}}