diff --git a/ui/src/components/MacroBar.tsx b/ui/src/components/MacroBar.tsx index 107d8de..066c21f 100644 --- a/ui/src/components/MacroBar.tsx +++ b/ui/src/components/MacroBar.tsx @@ -27,7 +27,9 @@ export default function MacroBar() { return (
- +
+ +
{macros.map(macro => (
diff --git a/ui/src/components/WebRTCVideo.tsx b/ui/src/components/WebRTCVideo.tsx index f169553..8e46a5e 100644 --- a/ui/src/components/WebRTCVideo.tsx +++ b/ui/src/components/WebRTCVideo.tsx @@ -528,16 +528,18 @@ export default function WebRTCVideo() { return (
-
- - videoElm.current?.requestFullscreen({ - navigationUI: "show", - }) - } - /> - -
+
+
+ + videoElm.current?.requestFullscreen({ + navigationUI: "show", + }) + } + /> + +
+
{macro.name} -

+

{macro.steps.map((step, stepIndex) => { const StepIcon = stepIndex === 0 ? LuMoveRight : LuCornerDownRight; @@ -154,7 +154,7 @@ export default function SettingsMacrosRoute() { {Array.isArray(step.keys) && step.keys.map((key, idx) => ( - + {keyDisplayMap[key] || key} {idx < step.keys.length - 1 && ( @@ -210,16 +210,18 @@ export default function SettingsMacrosRoute() { title="Macros" description={`${loading ? '?' : macros.length}/${MAX_TOTAL_MACROS}`} > -

-
+ { macros.length > 0 && ( +
+
+ )}
@@ -235,7 +237,6 @@ export default function SettingsMacrosRoute() { ) : macros.length === 0 ? (