Revert accidental commit

This commit is contained in:
Kaity A 2023-05-07 20:30:20 +10:00
parent 2c6f3a9989
commit fa9a28d230

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);
} }
} }
} }