Skip to content

Commit

Permalink
fixed #8765, fixed #8753 - font size field cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Aug 3, 2023
1 parent 217ab64 commit aafe510
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
36 changes: 18 additions & 18 deletions tabby-terminal/src/components/appearanceSettingsTab.component.pug
@@ -1,24 +1,24 @@
h3.mb-3(translate) Appearance
.form-line
.header
.title(translate) Font

.input-group.w-75
input.form-control(
type='text',
[ngbTypeahead]='fontAutocomplete',
[(ngModel)]='config.store.terminal.font',
(ngModelChange)='config.save()',
)
input.form-control.font-size-input(
type='number',
max='48',
[(ngModel)]='config.store.terminal.fontSize',
(ngModelChange)='fixFontSize(); config.save()',
)

.row
.col-12.col-md-6
.form-line
.header
.title(translate) Font

.input-group.w-75
input.form-control.w-75(
type='text',
[ngbTypeahead]='fontAutocomplete',
[(ngModel)]='config.store.terminal.font',
(ngModelChange)='config.save()',
)
input.form-control.w-25(
type='number',
max='48',
[(ngModel)]='config.store.terminal.fontSize',
(ngModelChange)='fixFontSize(); config.save()',
)

.form-line
.header
.title(translate) Enable font ligatures
Expand Down
Expand Up @@ -7,3 +7,8 @@ textarea {
font-family: 'Source Code Pro', monospace;
min-height: 120px;
}

.font-size-input {
width: 100px;
flex: none;
}

0 comments on commit aafe510

Please sign in to comment.