diff --git a/tabby-terminal/src/components/appearanceSettingsTab.component.ts b/tabby-terminal/src/components/appearanceSettingsTab.component.ts index 4671c594..83c23a49 100644 --- a/tabby-terminal/src/components/appearanceSettingsTab.component.ts +++ b/tabby-terminal/src/components/appearanceSettingsTab.component.ts @@ -44,8 +44,12 @@ export class AppearanceSettingsTabComponent { } fixFontSize () { - if (this.config.store.terminal.fontSize > 100) { - this.config.store.terminal.fontSize = 12 - } + this.config.store.terminal.fontSize = Math.min( + 50, + Math.max( + 5, + this.config.store.terminal.fontSize, + ), + ) } }