feat: enable zoom functionality in PhotoswipeReader and adjust global styles to manage pinch-zoom behavior
This commit is contained in:
@@ -7,6 +7,12 @@ body {
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
/* Bloque le zoom partout sauf reader */
|
||||
body.no-pinch-zoom,
|
||||
body.no-pinch-zoom * {
|
||||
touch-action: pan-x pan-y;
|
||||
}
|
||||
|
||||
/* Ajout des règles pour gérer le safe-area-inset sur iOS
|
||||
@supports (padding-top: env(safe-area-inset-top)) {
|
||||
body {
|
||||
@@ -92,6 +98,13 @@ body {
|
||||
body {
|
||||
@apply text-foreground;
|
||||
}
|
||||
|
||||
/* Empêche le zoom automatique iOS sur les inputs */
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
|
||||
Reference in New Issue
Block a user