mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 20:54:48 -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>
|
<template>
|
||||||
<span>
|
<span class="pronunciation">
|
||||||
<span v-if="text" class="text-muted">
|
<span v-if="text" class="text-pronunciation">
|
||||||
{{ pronunciation }}
|
{{ pronunciation }}
|
||||||
</span>
|
</span>
|
||||||
<PronunciationSpeaker v-for="voice in voices" :key="voice"
|
<PronunciationSpeaker v-for="voice in voices" :key="voice"
|
||||||
@ -26,3 +26,16 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</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