Skip to content

A platform for community discussion. Free, open, simple.

UX: Fix discourse topic onebox styling (#31106)

Jarek Radosz69889317e12e
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 7179b6f55a3..b42acf63ffa 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -857,6 +857,12 @@ aside.onebox.xkcd .onebox-body img {
padding-left: calc(1em - 5px);
margin-left: 5px;
}
+
+ .badge-category-bg {
+ display: inline-block;
+ width: 0.625rem;
+ height: 0.625rem;
+ }
}
.onebox.discoursetopic {
@@ -865,6 +871,11 @@ aside.onebox.xkcd .onebox-body img {
margin-bottom: 0.2rem !important;
}
+ .topic-category {
+ color: var(--primary-high);
+ line-height: var(--line-height-medium);
+ }
+
.discourse-tags {
vertical-align: bottom;