Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Modal(props: ModalProps) {
onClick={() => props.onClose()}
/>
<div
class={`relative w-full ${props.maxWidth ?? "max-w-lg"} bg-white dark:bg-zinc-900 rounded-2xl border border-zinc-200 dark:border-zinc-800 shadow-2xl animate-scale-in overflow-hidden`}
class={`relative w-full ${props.maxWidth ?? "max-w-lg"} bg-white dark:bg-zinc-900 rounded-2xl border border-zinc-200 dark:border-zinc-800 shadow-2xl animate-pop-in overflow-hidden`}
>
{props.children}
</div>
Expand Down
10 changes: 5 additions & 5 deletions ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@
}
}

@keyframes scale-in {
@keyframes pop-in {
from {
opacity: 0;
transform: scale(0.95);
transform: translateY(8px);
}
to {
opacity: 1;
transform: scale(1);
transform: translateY(0);
}
}

.animate-fade-in {
animation: fade-in 0.15s ease-out;
}
.animate-scale-in {
animation: scale-in 0.15s ease-out;
.animate-pop-in {
animation: pop-in 0.15s ease-out;
}

.btn-destructive {
Expand Down