mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 22:05:44 +03:00
tweak tracking details layout for small desktop sizes
This commit is contained in:
parent
949c426df1
commit
0d614b5a3e
@ -548,7 +548,7 @@ export default function SearchDetailDialog({
|
|||||||
"relative flex items-center justify-between",
|
"relative flex items-center justify-between",
|
||||||
"w-full",
|
"w-full",
|
||||||
// match dialog's max-width classes
|
// match dialog's max-width classes
|
||||||
"sm:max-w-xl md:max-w-4xl lg:max-w-[70%]",
|
"max-h-[95dvh] max-w-[85%] xl:max-w-[70%]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
@ -594,8 +594,7 @@ export default function SearchDetailDialog({
|
|||||||
ref={isDesktop ? dialogContentRef : undefined}
|
ref={isDesktop ? dialogContentRef : undefined}
|
||||||
className={cn(
|
className={cn(
|
||||||
"scrollbar-container overflow-y-auto",
|
"scrollbar-container overflow-y-auto",
|
||||||
isDesktop &&
|
isDesktop && "max-h-[95dvh] max-w-[85%] xl:max-w-[70%]",
|
||||||
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-[70%]",
|
|
||||||
isMobile && "flex h-full flex-col px-4",
|
isMobile && "flex h-full flex-col px-4",
|
||||||
)}
|
)}
|
||||||
onEscapeKeyDown={(event) => {
|
onEscapeKeyDown={(event) => {
|
||||||
|
|||||||
@ -622,7 +622,7 @@ export function TrackingDetails({
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
isDesktop && "justify-between overflow-hidden md:basis-2/5",
|
isDesktop && "justify-between overflow-hidden lg:basis-2/5",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{isDesktop && tabs && (
|
{isDesktop && tabs && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user