Revert "(test) remove container-type: inline-size;"

This reverts commit 9448e64228.
This commit is contained in:
tamaina 2023-05-08 15:19:13 +00:00
parent 9448e64228
commit 9a48a1f27a
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@
<div :class="$style.main"> <div :class="$style.main">
<MkNoteHeader :class="$style.header" :note="appearNote" :mini="true"/> <MkNoteHeader :class="$style.header" :note="appearNote" :mini="true"/>
<MkInstanceTicker v-if="showTicker" :class="$style.ticker" :instance="appearNote.user.instance"/> <MkInstanceTicker v-if="showTicker" :class="$style.ticker" :instance="appearNote.user.instance"/>
<div> <div style="container-type: inline-size;">
<p v-if="appearNote.cw != null" :class="$style.cw"> <p v-if="appearNote.cw != null" :class="$style.cw">
<Mfm v-if="appearNote.cw != ''" style="margin-right: 8px;" :text="appearNote.cw" :author="appearNote.user" :i="$i"/> <Mfm v-if="appearNote.cw != ''" style="margin-right: 8px;" :text="appearNote.cw" :author="appearNote.user" :i="$i"/>
<MkCwButton v-model="showContent" :note="appearNote"/> <MkCwButton v-model="showContent" :note="appearNote"/>

View File

@ -587,6 +587,7 @@ if (appearNote.replyId) {
> .main { > .main {
> .body { > .body {
container-type: inline-size;
> .cw { > .cw {
cursor: default; cursor: default;