From 83a3e53d8d24d82829a89d2274b9290a6b9f8b60 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 8 Sep 2024 17:36:51 +0200 Subject: [PATCH] Add padding to compensate for iPhone nav bar --- src/app.html | 5 ++++- src/lib/components/chat/MessageInput.svelte | 2 +- .../components/chat/Settings/Advanced/AdvancedParams.svelte | 2 +- src/lib/components/layout/Sidebar.svelte | 2 +- tailwind.config.js | 3 +++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/app.html b/src/app.html index 59fd7c5ed..532f2e9b5 100644 --- a/src/app.html +++ b/src/app.html @@ -4,7 +4,10 @@ - +
-
+
-
+
{$i18n.t('Seed')}
diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 168f7eaf2..e78bda96a 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -551,7 +551,7 @@
-
+
diff --git a/tailwind.config.js b/tailwind.config.js index 893cda83d..69b84725e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -30,6 +30,9 @@ export default { 'code::after': false } } + }, + padding: { + 'safe-bottom': 'env(safe-area-inset-bottom)' } } },