Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(ui): preserve checkbox highlights and touch target sizes

Timothy Yinea4910dc38ff
diff --git a/packages/saas-ui/app/app.config.ts b/packages/saas-ui/app/app.config.ts
index 6b6fb77d..2410c5ed 100644
--- a/packages/saas-ui/app/app.config.ts
+++ b/packages/saas-ui/app/app.config.ts
@@ -1,7 +1,7 @@
// Select and searchable SelectMenu share the upload drawer's neutral surface.
// Explicit radii avoid Nuxt UI scaling --ui-radius into oversized menu corners.
const selectSlots = {
- base: 'min-h-[var(--cf-control-height)] rounded-[6px]',
+ base: 'min-h-[var(--cf-control-height)] pointer-coarse:min-h-11 pointer-coarse:text-base rounded-[6px]',
content: 'bg-default text-default ring ring-default rounded-[6px] shadow-lg',
item: 'before:rounded-[4px] data-highlighted:not-data-disabled:before:bg-muted',
}
@@ -23,7 +23,7 @@ export default defineAppConfig({
slots: {
content:
'bg-default text-default ring ring-default rounded-[6px] shadow-lg',
- item: 'before:rounded-[4px]',
+ item: 'before:rounded-[4px] data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-muted data-[state=open]:before:bg-muted',
},
variants: {
active: {