minor fix

This commit is contained in:
Jose B
2023-07-21 07:13:21 -05:00
parent 159e9fcc09
commit e6578d1da2
2 changed files with 2 additions and 8 deletions

View File

@@ -69,6 +69,7 @@ export default function Recorder(props) {
record.stopRecording();
setIsRecording(false);
document.getElementById("play-btn").disabled = false;
props.onStop()
} else {
const stream = await navigator.mediaDevices.getUserMedia({
audio: { deviceId },

View File

@@ -8,14 +8,6 @@
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 32, 32, 32;
--background-end-rgb: 32, 32, 32;
}
}
body {
background: linear-gradient(
to bottom,
@@ -25,6 +17,7 @@ body {
rgb(var(--background-start-rgb));
font-family: "Roboto", sans-serif;
color: var(--foreground-rgb);
}
.temp-transcription {