From 1715c01b1d1b99d4e99a8fe6f40107a384250326 Mon Sep 17 00:00:00 2001 From: Nikita Kiselev Date: Mon, 14 Jul 2025 22:42:09 +0300 Subject: [PATCH] feat: add telegram safe content area --- spa/src/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/spa/src/style.css b/spa/src/style.css index 2fc886c..c1309a8 100644 --- a/spa/src/style.css +++ b/spa/src/style.css @@ -7,4 +7,11 @@ html, body { overscroll-behavior-y: none; -webkit-overflow-scrolling: auto; -} \ No newline at end of file +} + +#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); +}