Skip to content

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

UX: improve margin of horizon new topic button (#42420)

Kris877475784972
diff --git a/themes/horizon/scss/sidebar-new-topic-button.scss b/themes/horizon/scss/sidebar-new-topic-button.scss
index 2d1d266047a..de5059ff725 100644
--- a/themes/horizon/scss/sidebar-new-topic-button.scss
+++ b/themes/horizon/scss/sidebar-new-topic-button.scss
@@ -10,8 +10,7 @@
&__wrapper {
box-sizing: border-box;
display: flex;
- border-radius: 6.25em;
- margin-top: 4px; // hover & focus effect visibility
+ margin: var(--space-2) var(--space-6) 0 var(--space-2);
&:focus-visible,
&:hover {
diff --git a/themes/horizon/scss/sidebar.scss b/themes/horizon/scss/sidebar.scss
index 2efb2b57134..9e21bb103e0 100644
--- a/themes/horizon/scss/sidebar.scss
+++ b/themes/horizon/scss/sidebar.scss
@@ -86,10 +86,6 @@ body.has-full-page-chat .sidebar-wrapper,
}
}
-.sidebar-new-topic-button__wrapper {
- margin: 0 var(--space-2) var(--space-4) var(--space-4);
-}
-
// put the draft menu above the slide-out hamburger on small desktop screens
@include viewport.until(md) {
html:not(.mobile-view) {