mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 22:36:45 +08:00
UX: ensures new-topic badge renders consistently
We previously used the "●" Unicode character for this circle. Using Unicode for this means that it's up to the browser / OS to determine how it renders. This commit changes it to a CSS shape so that we always get the same rendering regardless of the user's browser / OS.
This commit is contained in:
parent
09a97363da
commit
061ab75343
@ -189,14 +189,15 @@
|
||||
|
||||
&.new-topic {
|
||||
background-color: transparent;
|
||||
color: var(--tertiary-high);
|
||||
font-weight: normal;
|
||||
font-size: $font-down-1;
|
||||
}
|
||||
|
||||
&.new-topic::before {
|
||||
content: "●";
|
||||
margin-right: 2px;
|
||||
content: "";
|
||||
background: var(--tertiary-high);
|
||||
display: inline-block;
|
||||
height: 0.4em;
|
||||
width: 0.4em;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
// Click count
|
||||
|
Loading…
x
Reference in New Issue
Block a user