From a2946b0728ec196b8ccc292e675075e25145b875 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 5 Feb 2021 11:30:08 -0500 Subject: [PATCH] Move category dropdown changes to desktop only (#11995) follow-up to 615a091 --- app/assets/stylesheets/common/base/_topic-list.scss | 7 ------- app/assets/stylesheets/desktop/topic-list.scss | 12 ++++++++++++ 2 files changed, 12 insertions(+), 7 deletions(-) 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;