(profile) style pronunciation

remove bold text weight from pronunciation text
prevent wrapping when name and pronunciation would cause the pronunciation speaker to be on a new line
This commit is contained in:
Valentyne Stigloher 2023-12-27 17:25:56 +01:00
parent 0435f28e21
commit fd58ab3fe3

View File

@ -1,6 +1,6 @@
<template>
<span>
<span v-if="text" class="text-muted">
<span class="pronunciation">
<span v-if="text" class="text-pronunciation">
{{ pronunciation }}
</span>
<PronunciationSpeaker v-for="voice in voices" :key="voice"
@ -26,3 +26,16 @@ export default {
},
}
</script>
<style lang="scss" scoped>
@import "assets/variables";
.pronunciation {
white-space: nowrap;
}
.text-pronunciation {
font-weight: normal;
color: var(--#{$prefix}secondary-color);
}
</style>