A platform for community discussion. Free, open, simple.
DEV: move mobile more-topics css into common (#38981)
Krisf1651f7d02ae
diff --git a/app/assets/stylesheets/common/components/more-topics.scss b/app/assets/stylesheets/common/components/more-topics.scssindex 11b0cf1656b..66101edca0c 100644--- a/app/assets/stylesheets/common/components/more-topics.scss+++ b/app/assets/stylesheets/common/components/more-topics.scss@@ -8,7 +8,17 @@.nav {margin-block: 0;+ @include viewport.until(sm) {+ margin-block: 0 7px;+ border-bottom: 1px solid var(--content-border-color);+ }+li {+ @include viewport.until(sm) {+ position: relative;+ bottom: -1px; // compensate for the border-bottom+ }+.btn {color: var(--d-nav-color);background-color: var(--d-nav-bg-color);diff --git a/app/assets/stylesheets/mobile/components/_index.scss b/app/assets/stylesheets/mobile/components/_index.scssindex 11b3a3976a5..14f535b6b82 100644--- a/app/assets/stylesheets/mobile/components/_index.scss+++ b/app/assets/stylesheets/mobile/components/_index.scss@@ -1,3 +1,2 @@@import "user-card";-@import "more-topics";@import "emoji-picker";diff --git a/app/assets/stylesheets/mobile/components/more-topics.scss b/app/assets/stylesheets/mobile/components/more-topics.scssdeleted file mode 100644index 08fbb76e44d..00000000000--- a/app/assets/stylesheets/mobile/components/more-topics.scss+++ /dev/null@@ -1,25 +0,0 @@-.more-topics__container {- .nav {- margin-block: 0 7px;- border-bottom: 1px solid var(--content-border-color);-- li {- position: relative;- bottom: -1px; // compensate for the border-bottom- }- }-- .more-content-topics {- padding: 15px 0 15px 0;-- .badge-category,- .badge-category-parent {- font-size: var(--font-down-1);- vertical-align: top;- }-- .suggested-topics-message {- margin-top: 1em;- }- }-}