Skip to content

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

UX: more consistent style for the new topic banner (#19405)

Kris9d03f207fa18
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index cfde43de910..99637d99728 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -84,9 +84,11 @@
.show-more {
width: 100%;
z-index: z("base");
- &.has-topics {
- position: absolute;
- top: 7px;
+ position: absolute;
+ top: 0;
+ .alert {
+ margin: 0;
+ padding: 1.1em 2em 1.1em 0.65em;
}
}
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 1c274156aec..30d21f8ad1c 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -163,12 +163,6 @@
h2 {
margin: 20px 0 10px;
}
- .show-more.has-topics {
- top: 0;
- .alert {
- padding: 16px 35px 16px 14px;
- }
- }
}
.bulk-select-topics {