Skip to content

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

UX: Fix positioning of mobile show-more following 71ff3417 (#23189)

David Taylorb5b4a3f23332
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index 4e48a52afed..2d86e80cd6c 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -383,18 +383,6 @@
font-size: var(--font-0);
cursor: default;
}
-
- .show-more {
- width: 100%;
- z-index: z("base");
- position: absolute;
- top: 0;
-
- .alert {
- margin: 0;
- padding: 1.1em 2em 1.1em 0.65em;
- }
- }
}
.topic-list {
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 65b0a8851cc..12b9bf22ff6 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -178,6 +178,18 @@
h2 {
margin: 20px 0 10px;
}
+
+ .show-more {
+ width: 100%;
+ z-index: z("base");
+ position: absolute;
+ top: 0;
+
+ .alert {
+ margin: 0;
+ padding: 1.1em 2em 1.1em 0.65em;
+ }
+ }
}
.bulk-select-topics {