diff --git a/src/components/cloud/ImageDetailModal.vue b/src/components/cloud/ImageDetailModal.vue index 182df62..4394349 100644 --- a/src/components/cloud/ImageDetailModal.vue +++ b/src/components/cloud/ImageDetailModal.vue @@ -49,10 +49,10 @@ const layout = computed(() => { ? naturalWidth.value / naturalHeight.value : 4 / 3 const maxModalWidth = viewportWidth.value > 0 - ? Math.max(Math.min(viewportWidth.value * 0.92, viewportWidth.value - 32), 280) + ? Math.max(Math.min(viewportWidth.value * 0.95, viewportWidth.value - 32), 280) : 320 const maxImageHeight = viewportHeight.value > 0 - ? Math.max(viewportHeight.value * 0.86, 240) + ? Math.max(viewportHeight.value * 0.9, 240) : 360 const imageWidth = Math.min(maxModalWidth, maxImageHeight * aspectRatio) @@ -187,11 +187,11 @@ onBeforeUnmount(() => { @@ -301,13 +301,7 @@ onBeforeUnmount(() => { transform: translateY(10px) scale(0.97); } -.image-detail-shell.image-detail-shell { - border-radius: 30px !important; -} - -.image-detail-close-button.image-detail-close-button, -.image-detail-info-button.image-detail-info-button, -.image-detail-panel-close.image-detail-panel-close { +.image-detail-info-button.image-detail-info-button { border-radius: 9999px !important; }