Skip to content

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

UX: fix new topic btn reappearing in Horizon (#35017)

chapoi02fe67c14f80
diff --git a/themes/horizon/scss/hiddenstuff.scss b/themes/horizon/scss/hiddenstuff.scss
index 79998202a4b..309b40aaf95 100644
--- a/themes/horizon/scss/hiddenstuff.scss
+++ b/themes/horizon/scss/hiddenstuff.scss
@@ -1,7 +1,14 @@
+@use "lib/viewport";
+
.sidebar__panel-switch-button,
-.list-controls .fk-d-button-tooltip:has(#create-topic),
.notifications-button-footer .reason .text,
.pinned-button .reason .text,
.more-topics__browse-more {
display: none;
}
+
+@include viewport.from(md) {
+ .list-controls #create-topic {
+ display: none;
+ }
+}