mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
portrait padding only
This commit is contained in:
parent
e6245cf313
commit
a4af55e25c
@ -35,10 +35,9 @@ function App() {
|
|||||||
id="pageRoot"
|
id="pageRoot"
|
||||||
className={cn(
|
className={cn(
|
||||||
"absolute right-0 top-0 overflow-hidden",
|
"absolute right-0 top-0 overflow-hidden",
|
||||||
isMobile &&
|
isMobile
|
||||||
"bottom-12 left-0 md:bottom-16 landscape:bottom-14 landscape:md:bottom-16",
|
? `bottom-${isPWA ? 16 : 12} left-0 md:bottom-16 landscape:bottom-14 landscape:md:bottom-16`
|
||||||
isMobile && isPWA && "bottom-16",
|
: "bottom-8 left-[52px]",
|
||||||
isDesktop && "bottom-8 left-[52px]",
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
|||||||
@ -25,7 +25,9 @@ function Bottombar() {
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"absolute inset-x-4 bottom-0 flex h-16 flex-row justify-between",
|
"absolute inset-x-4 bottom-0 flex h-16 flex-row justify-between",
|
||||||
isPWA ? "items-start pt-1" : "items-center",
|
isPWA
|
||||||
|
? "portrait:items-start portrait:pt-1 landscape:items-center"
|
||||||
|
: "items-center",
|
||||||
isMobile && !isPWA && "h-12 landscape:md:h-16",
|
isMobile && !isPWA && "h-12 landscape:md:h-16",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user