styling + remove log
This commit is contained in:
parent
a5f9dfd84a
commit
17acb0ee56
1 changed files with 14 additions and 13 deletions
|
@ -120,6 +120,7 @@
|
|||
v-model="collapsed"
|
||||
></XShowMoreButton>
|
||||
<XCwButton v-if="note.cw" v-model="showContent" :note="note" />
|
||||
</div>
|
||||
<MkButton
|
||||
v-if="hasMfm && defaultStore.state.animatedMfm"
|
||||
@click.stop="toggleMfm"
|
||||
|
@ -132,7 +133,6 @@
|
|||
</template>
|
||||
</MkButton>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
@ -185,8 +185,6 @@ const hasMfm = $ref(mfms.length > 0);
|
|||
|
||||
let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm);
|
||||
|
||||
console.log(disableMfm + " " + props.note.id + " " + defaultStore.state.animatedMfm);
|
||||
|
||||
async function toggleMfm() {
|
||||
if (disableMfm) {
|
||||
const { canceled } = await os.confirm({
|
||||
|
@ -335,5 +333,8 @@ function focusFooter(ev) {
|
|||
transition: none !important;
|
||||
}
|
||||
}
|
||||
> :deep(button) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue