mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Fix complicated aspect logic
This commit is contained in:
parent
4ee539592b
commit
44a53fb389
@ -88,9 +88,7 @@ export default function CameraImage({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`relative w-full ${
|
||||
fitAspect && aspectRatio < fitAspect ? "h-full flex justify-center" : ""
|
||||
} ${className}`}
|
||||
className={`relative w-full h-full flex justify-center ${className}`}
|
||||
ref={containerRef}
|
||||
>
|
||||
{enabled ? (
|
||||
|
||||
@ -70,7 +70,7 @@ function Live() {
|
||||
</div>
|
||||
<ScrollBar orientation="horizontal" />
|
||||
</ScrollArea>
|
||||
)}
|
||||
)}``
|
||||
|
||||
<div className="mt-4 md:grid md:grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4 gap-4">
|
||||
{cameras.map((camera) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user