mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
Use opacity for both dark and light mode
This commit is contained in:
parent
2969b6c4f5
commit
ad667583bc
@ -106,7 +106,7 @@ export default function VideoControls({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`px-4 py-2 flex justify-between items-center gap-8 text-white z-50 bg-black bg-opacity-60 rounded-lg ${className ?? ""}`}
|
||||
className={`px-4 py-2 flex justify-between items-center gap-8 text-white z-50 bg-secondary-foreground/60 dark:bg-secondary/60 rounded-lg ${className ?? ""}`}
|
||||
>
|
||||
{video && features.volume && (
|
||||
<div className="flex justify-normal items-center gap-2">
|
||||
|
||||
@ -802,7 +802,7 @@ function MotionReview({
|
||||
</div>
|
||||
|
||||
<VideoControls
|
||||
className="absolute bottom-16 left-1/2 -translate-x-1/2 bg-secondary"
|
||||
className="absolute bottom-16 left-1/2 -translate-x-1/2"
|
||||
features={{
|
||||
volume: false,
|
||||
seek: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user