diff --git a/src/components/HitokotoCard.vue b/src/components/HitokotoCard.vue index a031cf2..f9ea4a9 100644 --- a/src/components/HitokotoCard.vue +++ b/src/components/HitokotoCard.vue @@ -72,7 +72,7 @@ export default { computed: { contentStyle() { return { - 'font-size': `${this.fontSize}px`, + 'font-size': `${this.fontSize-4}px`, 'white-space': 'pre-wrap', 'line-height': '1.6', 'text-align': 'left' @@ -81,7 +81,7 @@ export default { authorStyle() { const AUTHOR_FONT_RATIO = 0.6 // Author font size is 60% of the main font size return { - 'font-size': `${this.fontSize * AUTHOR_FONT_RATIO}px`, + 'font-size': `${(this.fontSize-4 )* AUTHOR_FONT_RATIO}px`, 'text-align': 'left' } }