diff --git a/src/components/mobile/NumberPadSheet.vue b/src/components/mobile/NumberPadSheet.vue index 0282a42a..1d75dcc9 100644 --- a/src/components/mobile/NumberPadSheet.vue +++ b/src/components/mobile/NumberPadSheet.vue @@ -2,7 +2,7 @@ - {{ currentDisplay }} + {{ currentDisplay }} @@ -88,6 +88,17 @@ export default { return currentValue; } }, + currentDisplayFontSize() { + const currentDisplay = this.currentDisplay || ''; + + if (currentDisplay.length >= 24) { + return 20; + } else if (currentDisplay.length >= 16) { + return 22; + } else { + return 24; + } + }, confirmText() { if (this.currentSymbol) { return '='; @@ -299,7 +310,6 @@ export default { display: flex; position: relative; padding-left: 16px; - font-size: 24px; line-height: 1; height: 50px; justify-content: center;