From a4af55e25c7e48a36dc18dd435468736e637b3ef Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 16 May 2024 16:44:26 -0500 Subject: [PATCH] portrait padding only --- web/src/App.tsx | 7 +++---- web/src/components/navigation/Bottombar.tsx | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index d19680ed4..c4bdab9f2 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -35,10 +35,9 @@ function App() { id="pageRoot" className={cn( "absolute right-0 top-0 overflow-hidden", - isMobile && - "bottom-12 left-0 md:bottom-16 landscape:bottom-14 landscape:md:bottom-16", - isMobile && isPWA && "bottom-16", - isDesktop && "bottom-8 left-[52px]", + isMobile + ? `bottom-${isPWA ? 16 : 12} left-0 md:bottom-16 landscape:bottom-14 landscape:md:bottom-16` + : "bottom-8 left-[52px]", )} > diff --git a/web/src/components/navigation/Bottombar.tsx b/web/src/components/navigation/Bottombar.tsx index fd4a3a743..2f73a4f9e 100644 --- a/web/src/components/navigation/Bottombar.tsx +++ b/web/src/components/navigation/Bottombar.tsx @@ -25,7 +25,9 @@ function Bottombar() {