Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(recording): keep the capture controls the same size

davbiob3adb0562673
diff --git a/src/ui/sidepanel/MicToggle.tsx b/src/ui/sidepanel/MicToggle.tsx
index 034aaa8..245b871 100644
--- a/src/ui/sidepanel/MicToggle.tsx
+++ b/src/ui/sidepanel/MicToggle.tsx
@@ -90,7 +90,7 @@ export default function MicToggle({ enabled, live, paused = false, onChange }: M
aria-pressed={enabled}
aria-disabled={locked}
aria-label={label}
- className={`w-10 h-10 rounded-full border flex items-center justify-center transition-colors ${
+ className={`w-10 h-10 shrink-0 rounded-full border flex items-center justify-center transition-colors ${
locked
? 'border-dashed border-border text-muted-foreground opacity-60 cursor-not-allowed'
: enabled
diff --git a/src/ui/sidepanel/RecordingView.tsx b/src/ui/sidepanel/RecordingView.tsx
index 7de4868..a74d218 100644
--- a/src/ui/sidepanel/RecordingView.tsx
+++ b/src/ui/sidepanel/RecordingView.tsx
@@ -242,7 +242,7 @@ export default function RecordingView({ guideId, onStop, voice, aiFailure, pause
<button
onClick={handleBlur}
disabled={paused}
- className="w-10 h-10 rounded-full border border-border flex items-center justify-center transition-colors text-muted-foreground hover:border-accent hover:text-accent disabled:opacity-50 disabled:cursor-not-allowed"
+ className="w-10 h-10 shrink-0 rounded-full border border-border flex items-center justify-center transition-colors text-muted-foreground hover:border-accent hover:text-accent disabled:opacity-50 disabled:cursor-not-allowed"
>
<EyeOff size={16} />
</button>