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 {
|
&.new-topic {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: var(--tertiary-high);
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: $font-down-1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.new-topic::before {
|
&.new-topic::before {
|
||||||
content: "●";
|
content: "";
|
||||||
margin-right: 2px;
|
background: var(--tertiary-high);
|
||||||
|
display: inline-block;
|
||||||
|
height: 0.4em;
|
||||||
|
width: 0.4em;
|
||||||
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Click count
|
// Click count
|
||||||
|
|
Loading…
Reference in New Issue