From 615a09170767db1f1df34d0f2093f676a289dce4 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 3 Feb 2021 22:38:12 -0500 Subject: [PATCH] UX: ensure category breadcrumbs have consistent height (#11966) --- app/assets/stylesheets/common/base/_topic-list.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index 2c1527457c8..8a661989b5e 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -51,10 +51,19 @@ list-style: none; padding: 0; margin: 0; - li { + > li { + // only target the top-level li, not dropdowns + display: flex; float: left; - margin-bottom: var(--nav-space); margin-right: 0.5em; + height: 100%; + margin-bottom: 0; + } + + .select-kit-header { + align-self: stretch; + height: 100%; + margin-bottom: var(--nav-space); } }