From 70a07abfa4d777998649e0d868dcbef72aa08fce Mon Sep 17 00:00:00 2001 From: Ty Correll Date: Fri, 29 Sep 2023 13:22:57 -0500 Subject: [PATCH] UX: focused spacing in more topics table (#23730) This PR addresses spacing between focused & the topic header, by cancelling out the spacing added between the first table row while still having space between the tabs "Suggested" & "Related" --- .../stylesheets/common/components/more-topics.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/components/more-topics.scss b/app/assets/stylesheets/common/components/more-topics.scss index d55bd3261dd..ddf146baef1 100644 --- a/app/assets/stylesheets/common/components/more-topics.scss +++ b/app/assets/stylesheets/common/components/more-topics.scss @@ -39,14 +39,18 @@ .topic-list-header:after { content: ""; display: block; - height: 10px; + height: 12px; } .topic-list-body { border-top: none; - - .topic-list-item:last-of-type { - border-bottom: none; + .topic-list-item { + &:first-child td { + padding-top: 0; + } + &:last-of-type { + border-bottom: none; + } } } }