fix(webui): enlarge preview controls on touch devices

This commit is contained in:
Xubin Ren committed 2026-10-04 10:49:20 +08:00
1 parent fb059d555c
commit 13cec0146d
4 files changed
+15 -6

No files matched your search

+1 -1
View File
@@ -142,7 +142,7 @@ export function ImageLightbox({
<DialogPrimitive.Close
aria-label={t("lightbox.close")}
className={cn(
"absolute right-4 top-4 grid h-9 w-9 place-items-center rounded-full",
"touch-target absolute right-4 top-4 grid h-9 w-9 place-items-center rounded-full",
"bg-black/55 text-white/90 hover:bg-black/70 hover:text-white",
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70",
"transition-colors motion-reduce:transition-none",