fix zoom
This commit is contained in:
@@ -108,6 +108,16 @@ input:autofill {
|
|||||||
transition: background-color 10000s ease-in-out 0s;
|
transition: background-color 10000s ease-in-out 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* جلوگیری از زوم خودکار iOS هنگام فوکوس روی input */
|
||||||
|
/* iOS به طور خودکار صفحه را زوم میکند اگر font-size کمتر از 16px باشد */
|
||||||
|
@supports (-webkit-touch-callout: none) {
|
||||||
|
input:not([type="password"]),
|
||||||
|
textarea,
|
||||||
|
select {
|
||||||
|
font-size: 16px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.box-shadow-normal {
|
.box-shadow-normal {
|
||||||
box-shadow: 0px 2px 16px 0px #00000014;
|
box-shadow: 0px 2px 16px 0px #00000014;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
|||||||
@@ -15,6 +15,11 @@ export const metadata: Metadata = {
|
|||||||
|
|
||||||
export const viewport: Viewport = {
|
export const viewport: Viewport = {
|
||||||
themeColor: '#F4F5F9',
|
themeColor: '#F4F5F9',
|
||||||
|
width: 'device-width',
|
||||||
|
initialScale: 1,
|
||||||
|
maximumScale: 1,
|
||||||
|
minimumScale: 1,
|
||||||
|
userScalable: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
const i18nNamespaces = ['settings', 'common', 'menu', 'orders', 'auth', "rating", "chat", "notifications", 'parallels'];
|
const i18nNamespaces = ['settings', 'common', 'menu', 'orders', 'auth', "rating", "chat", "notifications", 'parallels'];
|
||||||
|
|||||||
Reference in New Issue
Block a user