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