From 92cf114f73a02bea71af521ef8b697f9d15d4deb Mon Sep 17 00:00:00 2001 From: tshenry Date: Thu, 15 Aug 2019 00:26:53 -0700 Subject: [PATCH] Adjust styling to work with core changes This will accommodate the changes made in https://github.com/discourse/discourse/pull/8010 --- common/common.scss | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/common/common.scss b/common/common.scss index 63df988..26a26c0 100644 --- a/common/common.scss +++ b/common/common.scss @@ -7,39 +7,15 @@ span.category-badge-icon { } } -.categories .category h3, -.badge-wrapper .badge-category { - .d-icon { - margin-right: 5px; - &:not(.d-icon-lock) { - color: inherit; - } - } +.categories-list .category h3 .d-icon, +.badge-wrapper .badge-category .d-icon { + margin-right: 5px; } -.categories-list .category-box-heading h3, -.category-list .category h3 { - .d-icon:not(.d-icon-lock) { - color: inherit; - } - .category-icon-widget { - vertical-align: baseline; - } +.categories-list .category .category-icon .d-icon { + color: inherit; } .categories-list .category-box-heading h3 div { display: inline; } - -.category-list { - .category h3 > div { - float: left; - } - .category-logo { - clear: both; - } -} - -.mobile-view .category-title-link .category-name { - width: 80vw; -}