better stop recording button visual tweak

This commit is contained in:
webadderall
2026-08-24 18:05:16 +10:00
parent b937f71890
commit 90df22efaf
2 changed files with 20 additions and 10 deletions
@@ -95,8 +95,6 @@
color: #4eeeb0;
}
.menuCard {
width: 300px;
max-height: 400px;
@@ -252,6 +250,13 @@
transition: all 0.2s ease;
}
.stopSquare {
width: 15px;
height: 15px;
border-radius: 3px;
background: #fff;
}
.recDotBlink {
animation: blink 1.2s ease-in-out infinite;
}
+13 -8
View File
@@ -1,4 +1,11 @@
import { MicrophoneIcon, MicrophoneSlashIcon, MinusIcon, PauseIcon, PlayIcon, SquareIcon, XIcon } from "@phosphor-icons/react";
import {
MicrophoneIcon,
MicrophoneSlashIcon,
MinusIcon,
PauseIcon,
PlayIcon,
XIcon,
} from "@phosphor-icons/react";
import { useMemo } from "react";
import { useScopedT } from "@/contexts/I18nContext";
import { Button } from "@/components/ui/button";
@@ -94,17 +101,15 @@ export const RecordingControls = ({
)}
</Button>
<Button
variant="ghost"
size="icon"
iconSize="lg"
<button
type="button"
onClick={onStopRecording}
title={t("recording.stop")}
aria-label={t("recording.stop")}
className={styles.ibRed}
className={`${styles.recBtn} ${styles.electronNoDrag}`}
>
<SquareIcon size={16} fill="currentColor" strokeWidth={0} />
</Button>
<span className={styles.stopSquare} />
</button>
<Button
variant="ghost"