mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
set max width on thumbnail
This commit is contained in:
parent
a620f83d5e
commit
18f0653562
@ -351,7 +351,12 @@ function DialogContentComponent({
|
||||
}
|
||||
/>
|
||||
) : (
|
||||
<div className={cn(!isDesktop ? "mb-4 w-full md:max-w-lg" : "size-full")}>
|
||||
<div
|
||||
className={cn(
|
||||
"max-w-lg",
|
||||
!isDesktop ? "mb-4 w-full" : "mx-auto size-full",
|
||||
)}
|
||||
>
|
||||
<img
|
||||
className="w-full select-none rounded-lg object-contain transition-opacity"
|
||||
style={
|
||||
|
||||
Loading…
Reference in New Issue
Block a user