mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-08 06:15:43 +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",
|
"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-4xl xl:max-w-7xl",
|
"sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]",
|
||||||
page == "tracking_details" && "lg:max-w-[75%] xl:max-w-[80%]",
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
@ -289,10 +288,7 @@ export default function SearchDetailDialog({
|
|||||||
className={cn(
|
className={cn(
|
||||||
"scrollbar-container overflow-y-auto",
|
"scrollbar-container overflow-y-auto",
|
||||||
isDesktop &&
|
isDesktop &&
|
||||||
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl",
|
"max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]",
|
||||||
isDesktop &&
|
|
||||||
page == "tracking_details" &&
|
|
||||||
"lg:max-w-[75%] xl:max-w-[80%]",
|
|
||||||
isMobile && "px-4",
|
isMobile && "px-4",
|
||||||
)}
|
)}
|
||||||
onInteractOutside={(e) => {
|
onInteractOutside={(e) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user