diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index cfde43de91..99637d9972 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 1c274156ae..30d21f8ad1 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 {