From cf005797bebd66132597ff0065585095a3716754 Mon Sep 17 00:00:00 2001 From: yiling Date: Sat, 4 Jul 2026 11:36:04 +0800 Subject: [PATCH] fix(webui): readable zoom/Fit controls in fullscreen light mode In the fullscreen control bar the whole bar uses text-white (it overlays the dark video), but the zoom group and Fit button hardcoded bg-muted, which is light in light mode -> white text on a light background. Use a translucent bg-white/15 for those controls when fullscreen so they stay readable; the normal (non-fullscreen) bar keeps bg-muted. Also fixes the same latent issue in the single-file video player. --- .../webui/components/viewers/video-control-bar.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/webui/components/viewers/video-control-bar.tsx b/packages/webui/components/viewers/video-control-bar.tsx index 238fcb14..7ae29892 100644 --- a/packages/webui/components/viewers/video-control-bar.tsx +++ b/packages/webui/components/viewers/video-control-bar.tsx @@ -241,7 +241,12 @@ export const VideoControlBar: React.FC = ({
{/* Zoom Controls */}
-
+