revert excess fixes
This commit is contained in:
parent
0aee64ca40
commit
47ca0e6689
|
@ -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>
|
||||
|
|
|
@ -90,7 +90,7 @@ const exampleCWNote = reactive<Misskey.entities.Note>({
|
|||
background: var(--divider);
|
||||
}
|
||||
|
||||
.viewImage {
|
||||
.image {
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ const exampleNote = reactive<Misskey.entities.Note>({
|
|||
background: var(--divider);
|
||||
}
|
||||
|
||||
.viewImage {
|
||||
.image {
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ import { i18n } from '@/i18n.js';
|
|||
background: var(--divider);
|
||||
}
|
||||
|
||||
.viewImage {
|
||||
.image {
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue