File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ declare global {
1919---
2020
2121<style >
22- select {
22+ .speaker-controls {
23+ display: flex;
24+ align-items: center;
25+ gap: 0.5rem;
26+ }
27+
28+ #voice-dropdown {
2329 width: max-content;
2430 }
2531
@@ -29,8 +35,8 @@ declare global {
2935 border: 1px solid var(--primary);
3036 border-radius: 100px;
3137 cursor: pointer;
32- width: 2.5rem ;
33- height: 2.5rem ;
38+ width: 3.2rem ;
39+ height: 3.2rem ;
3440 display: flex;
3541 align-items: center;
3642 justify-content: center;
@@ -41,13 +47,13 @@ declare global {
4147 color: var(--primary);
4248 }
4349 .mute-icon {
44- font-size: 1.8rem ;
50+ font-size: 1.5rem ;
4551 }
4652</style >
4753
4854<div class =" speaker-controls" >
4955 <select id =" voice-dropdown" >
50- <option disabled >Select Voice</option >
56+ <option selected disabled >Select Voice</option >
5157 <option value =" mudra" >Mudra</option >
5258 <option value =" rutvi" >Rutvi</option >
5359 </select >
@@ -74,7 +80,7 @@ declare global {
7480 }
7581 };
7682
77- const playLetterSound = (letter) => {
83+ window. playLetterSound = (letter) => {
7884 if (isMuted || !currentVoice) return;
7985
8086 stopAudio();
@@ -99,7 +105,6 @@ declare global {
99105 });
100106
101107 voicesSelection.addEventListener("change", (e) => {
102- console.log(e.target.value);
103108 currentVoice = e.target.value;
104109 });
105110 });
You can’t perform that action at this time.
0 commit comments