fix css module

This commit is contained in:
syuilo 2023-01-16 06:12:43 +09:00
parent 6e2d7e9792
commit ec63a50de2

View File

@ -23,7 +23,7 @@
@leave="leave" @leave="leave"
@after-leave="afterLeave" @after-leave="afterLeave"
> >
<div v-show="showBody" ref="content" :class="[$style.content, { omitted }]"> <div v-show="showBody" ref="content" :class="[$style.content, { [$style.omitted]: omitted }]">
<slot></slot> <slot></slot>
<button v-if="omitted" :class="$style.fade" class="_button" @click="() => { ignoreOmit = true; omitted = false; }"> <button v-if="omitted" :class="$style.fade" class="_button" @click="() => { ignoreOmit = true; omitted = false; }">
<span :class="$style.fadeLabel">{{ $ts.showMore }}</span> <span :class="$style.fadeLabel">{{ $ts.showMore }}</span>