From ef368ec2ff6a27a1e147764955e6c6a11eed855c Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 6 Nov 2018 10:00:53 -0500 Subject: [PATCH] Minor spacing adjustments for new search results --- app/assets/stylesheets/common/base/search-menu.scss | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/common/base/search-menu.scss b/app/assets/stylesheets/common/base/search-menu.scss index f4d1b89ebfd..c8a85d84dcc 100644 --- a/app/assets/stylesheets/common/base/search-menu.scss +++ b/app/assets/stylesheets/common/base/search-menu.scss @@ -56,7 +56,7 @@ .main-results { display: flex; - flex: 1; + flex: 1 1 auto; } .main-results + .secondary-results { @@ -69,7 +69,7 @@ .secondary-results { display: flex; flex-direction: column; - flex: 1; + flex: 1 1 auto; .classification-results { border-bottom: 1px solid $primary-low; @@ -110,6 +110,7 @@ display: flex; flex-direction: column; overflow: auto; + line-height: $line-height-medium; .username, .name { @@ -127,7 +128,6 @@ .name { color: dark-light-choose($primary-high, $secondary-low); font-size: $font-down-1; - margin-top: 0.25em; } } } @@ -176,10 +176,17 @@ } .search-link { + margin-bottom: 0.25em; + .badge-category-parent { line-height: $line-height-small; } + .topic { + display: inline-block; + line-height: $line-height-medium; + } + .topic-title { margin-right: 0.25em; }