Merge remote-tracking branch 'origin/master'

* origin/master:
  Fix #4878
  Fix: center material icon #4924
This commit is contained in:
Johannes Millan 2025-08-10 15:43:04 +02:00
commit 384a9ef62b
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,6 @@
.mat-icon {
position: relative;
z-index: 2;
transform: translateY(-2px);
:host(.isSuccess) & {
opacity: 0.25;

View file

@ -15,7 +15,9 @@ export const speak = (text: string, volume: number, voice: string): void => {
synth.getVoices().find((v) => voice.includes(v.name)) ||
synth.getVoices().find((v) => v.default) ||
null;
utter.volume = volume;
console.log(volume);
utter.volume = volume / 100;
synth.speak(utter);
};