File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ const VoiceVisualizer = ({
554
554
) }
555
555
{ isCleared && (
556
556
< button
557
- className = { `voice-visualizer__btn-center relative ${
557
+ className = { `voice-visualizer__btn-center voice-visualizer__relative ${
558
558
isProcessingStartRecording
559
559
? "voice-visualizer__btn-center--border-transparent"
560
560
: ""
@@ -563,8 +563,8 @@ const VoiceVisualizer = ({
563
563
disabled = { isProcessingStartRecording }
564
564
>
565
565
{ isProcessingStartRecording && (
566
- < div className = "spinner__wrapper " >
567
- < div className = "spinner " />
566
+ < div className = "voice-visualizer__spinner-wrapper " >
567
+ < div className = "voice-visualizer__spinner " />
568
568
</ div >
569
569
) }
570
570
< img src = { microphoneIcon } alt = "Microphone" />
Original file line number Diff line number Diff line change 286
286
overflow : hidden;
287
287
}
288
288
289
- .relative {
289
+ .voice-visualizer__relative {
290
290
position : relative;
291
291
}
292
292
293
- .spinner__wrapper {
293
+ .voice-visualizer__spinner-wrapper {
294
294
position : absolute;
295
295
top : 50% ;
296
296
left : 50% ;
302
302
align-items : center;
303
303
}
304
304
305
- .spinner {
305
+ .voice-visualizer__spinner {
306
306
flex-shrink : 0 ;
307
307
width : 100% ;
308
308
height : 100% ;
309
309
border : 4px solid rgba (197 , 197 , 197 , 0.5 );
310
310
border-radius : 50% ;
311
311
border-top-color : # b7b7b7 ;
312
- animation : spin 1s ease-in-out infinite;
313
- -webkit-animation : spin 1s ease-in-out infinite;
312
+ animation : voice-visualizer__spin 1s ease-in-out infinite;
313
+ -webkit-animation : voice-visualizer__spin 1s ease-in-out infinite;
314
314
}
315
315
316
- @keyframes spin {
316
+ @keyframes voice-visualizer__spin {
317
317
to { transform : rotate (360deg ); }
318
318
}
319
- @-webkit-keyframes spin {
319
+ @-webkit-keyframes voice-visualizer__spin {
320
320
to { transform : rotate (360deg ); }
321
321
}
You can’t perform that action at this time.
0 commit comments