From 8645545ef4e82a096e40dd68ace9f5bc1033d00b Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 2 Mar 2024 20:59:50 -0700 Subject: [PATCH] Add support for live fullscreen mode (#10191) * Fix timeline colors * Add support for full screen mode * Add support for live view full screen * Cleanup * Add border to sidebar and statusbar --- web/src/components/Statusbar.tsx | 2 +- .../dynamic/CameraFeatureToggle.tsx | 14 +-- web/src/components/navigation/Sidebar.tsx | 2 +- web/src/components/timeline/EventSegment.tsx | 6 +- web/src/views/live/LiveCameraView.tsx | 104 +++++++++++++++--- web/tailwind.config.js | 1 + web/themes/theme-default.css | 6 + 7 files changed, 107 insertions(+), 28 deletions(-) diff --git a/web/src/components/Statusbar.tsx b/web/src/components/Statusbar.tsx index df77c648f..e5564eecf 100644 --- a/web/src/components/Statusbar.tsx +++ b/web/src/components/Statusbar.tsx @@ -28,7 +28,7 @@ export default function Statusbar() { }, [stats]); return ( -
+
{cpuPercent && (
diff --git a/web/src/components/navigation/Sidebar.tsx b/web/src/components/navigation/Sidebar.tsx index 9783fd03b..1fdea0c41 100644 --- a/web/src/components/navigation/Sidebar.tsx +++ b/web/src/components/navigation/Sidebar.tsx @@ -5,7 +5,7 @@ import NavItem from "./NavItem"; function Sidebar() { return ( -