Skip to content

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

UX: Tweak the "new" badge size, position, color (#16168)

Jarek Radosz44f7a61c2c5b
diff --git a/app/assets/stylesheets/common/components/badges.scss b/app/assets/stylesheets/common/components/badges.scss
index c16705adfaf..8e3df6a8b1c 100644
--- a/app/assets/stylesheets/common/components/badges.scss
+++ b/app/assets/stylesheets/common/components/badges.scss
@@ -192,10 +192,10 @@
&.new-topic::before {
content: "";
- background: var(--tertiary-high);
+ background: var(--tertiary-med-or-tertiary);
display: inline-block;
- height: 0.4em;
- width: 0.4em;
+ height: 8px;
+ width: 8px;
border-radius: 50%;
}
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss
index 644550cf1c4..89c892d089c 100644
--- a/app/assets/stylesheets/desktop/topic-list.scss
+++ b/app/assets/stylesheets/desktop/topic-list.scss
@@ -55,9 +55,10 @@
.badge-notification {
position: relative;
top: -2px;
+
&.new-topic {
top: -1px;
- padding-left: 5px;
+ padding-left: 2px;
}
}