feat: add telegram safe content area
This commit is contained in:
@@ -8,3 +8,10 @@ html, body {
|
|||||||
overscroll-behavior-y: none;
|
overscroll-behavior-y: none;
|
||||||
-webkit-overflow-scrolling: auto;
|
-webkit-overflow-scrolling: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
padding-top: env(--tg-content-safe-area-inset-top);
|
||||||
|
padding-bottom: env(--tg-content-safe-area-inset-bottom);
|
||||||
|
padding-left: env(--tg-content-safe-area-inset-left);
|
||||||
|
padding-right: env(--tg-content-safe-area-inset-right);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user