|
|
@@ -15,10 +15,7 @@
|
|
|
v-if="block.type === 'text'"
|
|
|
:key="'text-' + index"
|
|
|
class="pinyin-sentence"
|
|
|
- :style="[
|
|
|
- { 'align-items': pinyinPosition === 'top' ? 'flex-end' : 'flex-start' },
|
|
|
- block.sentenceStyle
|
|
|
- ]"
|
|
|
+ :style="[{ 'align-items': pinyinPosition === 'top' ? 'flex-end' : 'flex-start' }, block.sentenceStyle]"
|
|
|
>
|
|
|
<span v-for="(word, wIndex) in block.word_list" :key="wIndex" class="pinyin-text" :style="block.styleObj">
|
|
|
<span
|
|
|
@@ -794,11 +791,11 @@ export default {
|
|
|
const letterSpacingValue = parseFloat(letterSpacing) || 0;
|
|
|
|
|
|
baseStyle['border-bottom'] = 'none';
|
|
|
- baseStyle['background-image'] = 'radial-gradient(circle at center, currentColor 0.15em, transparent 0.16em)';
|
|
|
+ baseStyle['background-image'] = 'radial-gradient(circle at center, currentColor 0.08em, transparent 0.09em)';
|
|
|
baseStyle['background-repeat'] = 'repeat-x';
|
|
|
baseStyle['background-position'] = `${letterSpacingValue * -0.5}em 100%`;
|
|
|
- baseStyle['background-size'] = `${1 + letterSpacingValue}em 0.3em`;
|
|
|
- baseStyle['padding-bottom'] = '0.3em';
|
|
|
+ baseStyle['background-size'] = `${1 + letterSpacingValue}em 0.15em`;
|
|
|
+ baseStyle['padding-bottom'] = '0.15em';
|
|
|
baseStyle['display'] = 'inline';
|
|
|
}
|
|
|
|