Skip to content

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

Move category dropdown changes to desktop only (#11995)

Krisa2946b0728ec
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index 8a661989b5e..88c46e29b72 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -56,15 +56,8 @@
display: flex;
float: left;
margin-right: 0.5em;
- height: 100%;
margin-bottom: 0;
}
-
- .select-kit-header {
- align-self: stretch;
- height: 100%;
- margin-bottom: var(--nav-space);
- }
}
#navigation-bar {
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 6aadf558dcb..556fc2593d5 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -192,6 +192,18 @@ button.dismiss-read {
margin-left: 10px;
}
+.category-breadcrumb {
+ // only target the top-level li, not dropdowns
+ > li {
+ height: 100%;
+ }
+ .select-kit-header {
+ align-self: stretch;
+ height: 100%;
+ margin-bottom: var(--nav-space);
+ }
+}
+
.category-heading {
p {
line-height: $line-height-large;