mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(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:
parent
0435f28e21
commit
fd58ab3fe3
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user