Skip to content

Commit 6df3824

Browse files
committed
fix: enhance image comparison container with shadow and padding
1 parent 574a2bd commit 6df3824

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

custom/ImageCompare.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- Popup Overlay -->
33
<div class="fixed inset-0 z-40 flex items-center justify-center bg-black/50" @click.self="closePopup">
4-
<div class="image-compare-container border-white dark:border-black max-w-4xl max-h-[90vh] overflow-y-auto rounded-lg bg-white dark:bg-gray-800">
4+
<div class="image-compare-container shadow-sm p-4 border-white dark:border-black max-w-4xl max-h-[90vh] overflow-y-auto rounded-lg bg-white dark:bg-gray-800">
55
<!-- Close Button -->
66
<div class="flex justify-end mb-4">
77
<button type="button"
@@ -176,20 +176,9 @@ html.dark .medium-zoom-overlay {
176176
body.medium-zoom--opened aside {
177177
filter: grayscale(1);
178178
}
179-
</style>
180-
181-
<style scoped>
182-
.image-compare-container {
183-
padding: 1rem;
184-
/* background-color: white; */
185-
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
186-
/* border: 1px solid #e5e7eb; */
187-
}
188-
189179
.fade-enter-active, .fade-leave-active {
190180
transition: opacity 0.3s ease;
191181
}
192-
193182
.fade-enter-from, .fade-leave-to {
194183
opacity: 0;
195184
}

0 commit comments

Comments
 (0)