From c7d1b9d8d791cf1d7096b66d16561e91ba9bb542 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 6 Jun 2019 10:35:32 +0200 Subject: [PATCH] KB public UI: fix list layout - prevent icon from shrinking --- app/assets/stylesheets/knowledge_base.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/knowledge_base.scss b/app/assets/stylesheets/knowledge_base.scss index 36ab501eb..9f5c964e1 100644 --- a/app/assets/stylesheets/knowledge_base.scss +++ b/app/assets/stylesheets/knowledge_base.scss @@ -110,7 +110,6 @@ h1 { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; - hyphens: auto; &:first-child { margin-top: 0; @@ -623,7 +622,6 @@ b { margin: 15px 0; padding: 10px 15px; display: flex; - align-items: center; span { display: block; @@ -632,6 +630,7 @@ b { .not-published-note { margin-left: .5em; + margin-top: .5em; } } @@ -788,8 +787,9 @@ b { .section-inner & { color: $highlight-color; fill: currentColor; - margin: 0 9px 0 3px; + margin: 4px 9px 0 3px; line-height: inherit; + flex-shrink: 0; } }