Skip to content
Snippets Groups Projects
Commit e6d5ddcb authored by HJ's avatar HJ :fire:
Browse files

better modifier, no background for unhighlighted mentions

parent c3e122ff
Branches
No related tags found
No related merge requests found
......@@ -37,13 +37,15 @@
}
}
& .new {
.new:not(.-highlighted) {
.short {
background: none;
}
}
.new {
&,
&.-striped,
&.-solid,
&.-side {
&.-highlighted {
.short {
font-size: 90%;
line-height: 1.5;
vertical-align: middle;
......@@ -58,6 +60,7 @@
.you {
padding-right: 0.25em;
}
.short {
padding-left: 0.25em;
padding-right: 0;
......
......@@ -12,7 +12,7 @@
v-if="user"
class="new"
:style="style"
:class="[{ '-you': isYou }, highlightType]"
:class="[{ '-you': isYou, '-highlighted': highlight }, highlightType]"
>
<button
class="short"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment