mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 22:05:44 +03:00
don't change dialog size
This commit is contained in:
parent
f8d8c853f5
commit
0ed635bbac
@ -242,8 +242,7 @@ export default function SearchDetailDialog({
|
||||
"relative flex items-center justify-between",
|
||||
"w-full",
|
||||
// match dialog's max-width classes
|
||||
"sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl",
|
||||
page == "tracking_details" && "lg:max-w-[75%] xl:max-w-[80%]",
|
||||
"sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]",
|
||||
)}
|
||||
>
|
||||
<Tooltip>
|
||||
@ -289,10 +288,7 @@ export default function SearchDetailDialog({
|
||||
className={cn(
|
||||
"scrollbar-container overflow-y-auto",
|
||||
isDesktop &&
|
||||
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl",
|
||||
isDesktop &&
|
||||
page == "tracking_details" &&
|
||||
"lg:max-w-[75%] xl:max-w-[80%]",
|
||||
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]",
|
||||
isMobile && "px-4",
|
||||
)}
|
||||
onInteractOutside={(e) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user