Revert accidental commit

This commit is contained in:
Kaity A 2023-05-07 20:30:20 +10:00
parent 5395b96428
commit 8e4d38cb45
No known key found for this signature in database
GPG Key ID: 5A797B97C2A490AD
1 changed files with 7 additions and 11 deletions

View File

@ -5,7 +5,7 @@
cwHighlight,
}"
>
<p v-if="cw" class="cw">
<p v-if="cw != null" class="cw">
<MkA
v-if="!detailed && appearNote.replyId"
:to="`/notes/${appearNote.replyId}`"
@ -27,9 +27,8 @@
>
<i class="ph-quotes ph-bold ph-lg"></i>
</MkA>
<i v-if="cw" class="cw-icon ph-fill ph-shield-warning ph-lg"></i>
<Mfm
v-if="cw"
v-if="cw != ''"
class="text"
:text="cw"
:author="appearNote.user"
@ -221,24 +220,21 @@ function focusFooter(ev) {
> .text {
margin-right: 8px;
padding-inline-start: 0.25em;
font-weight: 900;
}
}
.cwHighlight.hasCw {
outline: 1px dotted var(--fg);
outline: 1px dotted var(--cwFg);
border-radius: 5px;
> .wrmlmaau {
padding-inline-start: 0.25em;
}
> .cw {
background-color: var(--fg);
color: var(--bg);
background-color: var(--cwFg);
color: var(--cwBg);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
> .reply-icon,
> .cw-icon {
padding-inline-start: 0.25em;
color: var(--bg);
> .reply-icon {
color: var(--cwBg);
}
}
}