Skip to content

Commit

Permalink
chg: 画像クリック時に画像をスクリーン内に収める
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcolor committed Feb 15, 2024
1 parent 0048a3c commit 3a864af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/content/ProseImg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const isShowModal = ref(false);
<button class="btn btn-square btn-ghost absolute right-2 top-2 text-primary-content">
<Icon name="mdi:close" size="48px" />
</button>
<div class="modal-box max-h-none w-auto max-w-none p-0">
<div class="modal-box max-h-screen w-auto max-w-none p-0">
<img :src="refinedSrc" :alt="alt" loading="lazy" />
</div>
</dialog>
Expand Down

0 comments on commit 3a864af

Please sign in to comment.