revert excess fixes

This commit is contained in:
samunohito 2024-02-27 08:20:54 +09:00
parent 0aee64ca40
commit 47ca0e6689
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
>
<template v-for="media in mediaList.filter(media => previewable(media))">
<XVideo v-if="media.type.startsWith('video')" :key="`video:${media.id}`" :class="$style.media" :video="media"/>
<XImage v-else-if="media.type.startsWith('image')" :key="`image:${media.id}`" :class="$style.media" class="viewImage" :data-id="media.id" :image="media" :raw="raw"/>
<XImage v-else-if="media.type.startsWith('image')" :key="`image:${media.id}`" :class="$style.media" class="image" :data-id="media.id" :image="media" :raw="raw"/>
</template>
</div>
</div>

View File

@ -90,7 +90,7 @@ const exampleCWNote = reactive<Misskey.entities.Note>({
background: var(--divider);
}
.viewImage {
.image {
max-width: 300px;
margin: 0 auto;
}

View File

@ -100,7 +100,7 @@ const exampleNote = reactive<Misskey.entities.Note>({
background: var(--divider);
}
.viewImage {
.image {
max-width: 300px;
margin: 0 auto;
}

View File

@ -41,7 +41,7 @@ import { i18n } from '@/i18n.js';
background: var(--divider);
}
.viewImage {
.image {
max-width: 300px;
margin: 0 auto;
}