mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Fix video control width on motion page
This commit is contained in:
parent
7c321f2262
commit
79de73aeb7
@ -170,8 +170,10 @@ export default function VideoControls({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-[96%] sm:w-auto px-4 py-2 flex flex-wrap sm:flex-nowrap justify-between items-center gap-4 sm:gap-8 text-primary z-50 bg-background/60 rounded-lg",
|
"w-auto px-4 py-2 flex flex-wrap sm:flex-nowrap justify-between items-center gap-4 sm:gap-8 text-primary z-50 bg-background/60 rounded-lg",
|
||||||
className,
|
className,
|
||||||
|
Object.values(features).filter((feat) => feat).length > 4 &&
|
||||||
|
"min-w-[94%]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{video && features.volume && (
|
{video && features.volume && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user