diff --git a/app/assets/stylesheets/common/base/category-list.scss b/app/assets/stylesheets/common/base/category-list.scss index 62faa65cfe2..f40848161c7 100644 --- a/app/assets/stylesheets/common/base/category-list.scss +++ b/app/assets/stylesheets/common/base/category-list.scss @@ -1,3 +1,10 @@ +.category-list { + .category-title-link { + display: inline-flex; + align-items: baseline; + } +} + .category-boxes, .category-boxes-with-topics { display: flex; flex-wrap: wrap; diff --git a/app/assets/stylesheets/common/components/badges.scss b/app/assets/stylesheets/common/components/badges.scss index 22764d98d94..548ed6eeb01 100644 --- a/app/assets/stylesheets/common/components/badges.scss +++ b/app/assets/stylesheets/common/components/badges.scss @@ -25,13 +25,13 @@ .badge-category { display: inline-flex; + align-items: baseline; .category-name { text-overflow: ellipsis; overflow: hidden; } .d-icon { margin-right: 3px; - line-height: $line-height-large; } }