edit overflow: hidden
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-shell-root min-h-[100dvh] w-full bg-surface-2">
|
<div class="app-shell-root min-h-[100dvh] w-full bg-surface-2">
|
||||||
<div
|
<div
|
||||||
class="app-shell-frame mx-auto flex h-[100dvh] max-h-[100dvh] w-full min-w-0 max-w-full flex-col overflow-hidden bg-surface shadow-xl shadow-black/5 dark:shadow-black/30 max-w-app"
|
class="app-shell-frame mx-auto flex w-full min-w-0 max-w-full flex-col bg-surface shadow-xl shadow-black/5 dark:shadow-black/30 max-w-app max-lg:h-[100dvh] max-lg:max-h-[100dvh] max-lg:overflow-hidden lg:min-h-dvh"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+17
-13
@@ -26,11 +26,15 @@
|
|||||||
html {
|
html {
|
||||||
@apply antialiased font-sans;
|
@apply antialiased font-sans;
|
||||||
font-family: IRANYekanX, ui-sans-serif, system-ui, sans-serif;
|
font-family: IRANYekanX, ui-sans-serif, system-ui, sans-serif;
|
||||||
height: 100%;
|
scrollbar-width: none;
|
||||||
overflow: hidden;
|
-ms-overflow-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@supports (-webkit-touch-callout: none) {
|
html::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1023px) {
|
||||||
html,
|
html,
|
||||||
body,
|
body,
|
||||||
#app {
|
#app {
|
||||||
@@ -38,15 +42,17 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-shell-root {
|
@supports (-webkit-touch-callout: none) {
|
||||||
min-height: 100%;
|
.app-shell-root {
|
||||||
min-height: -webkit-fill-available;
|
min-height: 100%;
|
||||||
}
|
min-height: -webkit-fill-available;
|
||||||
|
}
|
||||||
|
|
||||||
.app-shell-frame {
|
.app-shell-frame {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
min-height: -webkit-fill-available;
|
min-height: -webkit-fill-available;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,7 +70,5 @@
|
|||||||
|
|
||||||
#app {
|
#app {
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
height: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user