From 34c5df2700dfeaa7c73c615ea358e82413e35b47 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 26 May 2021 20:36:21 -0400 Subject: [PATCH] UX: Make search result styles more consistent (#13174) --- app/assets/stylesheets/common/base/_topic-list.scss | 3 ++- app/assets/stylesheets/common/base/search-menu.scss | 5 +---- app/assets/stylesheets/common/base/search.scss | 3 ++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index c733fee086e..f882b25376a 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -277,8 +277,9 @@ } .topic-excerpt { + display: block; font-size: $font-down-1; - margin-top: 5px; + margin-top: 0.33em; color: var(--primary-high); word-wrap: break-word; line-height: $line-height-large; diff --git a/app/assets/stylesheets/common/base/search-menu.scss b/app/assets/stylesheets/common/base/search-menu.scss index 4076e019d97..73a86ba70fd 100644 --- a/app/assets/stylesheets/common/base/search-menu.scss +++ b/app/assets/stylesheets/common/base/search-menu.scss @@ -66,6 +66,7 @@ display: flex; flex-wrap: wrap; align-items: center; + margin-top: 0.15em; .discourse-tags { .discourse-tag { @@ -73,10 +74,6 @@ } } } - - a.widget-link { - color: var(--tertiary); - } } .main-results { diff --git a/app/assets/stylesheets/common/base/search.scss b/app/assets/stylesheets/common/base/search.scss index 5f43dc6dbec..573756bb8fe 100644 --- a/app/assets/stylesheets/common/base/search.scss +++ b/app/assets/stylesheets/common/base/search.scss @@ -148,6 +148,7 @@ font-size: $font-up-1; background: var(--primary-low); padding: 0.358em 1em; + margin-bottom: 0; @include breakpoint(medium) { padding: 0.358em 0.5em; } @@ -293,7 +294,7 @@ } .search-link { .topic-title { - font-size: $font-up-2; + font-size: $font-up-1; line-height: $line-height-medium; color: var(--primary); }