mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-02 10:29:02 +08:00
style(video): update video player background color for dark mode
This commit is contained in:
parent
81f186abd6
commit
261b79198a
@ -213,7 +213,7 @@ const VideoPlayer = ({
|
||||
<video
|
||||
ref={videoRef}
|
||||
controls
|
||||
className="h-full w-full rounded-2xl bg-black object-contain"
|
||||
className="h-full w-full rounded-2xl bg-content2 object-contain dark:bg-background"
|
||||
onLoadedData={() => setLoadSuccess(true)}
|
||||
onError={() => setLoadSuccess(false)}>
|
||||
<source src={`file://${src}`} type="video/mp4" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user