settings layout fixes

This commit is contained in:
Eugene Pankov 2018-04-24 16:07:42 +02:00
parent 8432e3ef66
commit 4b30dfef58

View File

@ -242,9 +242,7 @@ h3.mb-3 Appearance
h3.mt-3.mb-3 Shell
.row
.col-md-6
.d-flex
.d-flex
.form-group.mr-3
label Shell
select.form-control(
@ -256,7 +254,7 @@ h3.mt-3.mb-3 Shell
[ngValue]='shell.id'
) {{shell.name}}
.form-group(*ngIf='persistenceProviders.length > 0')
.form-group.mr-3(*ngIf='persistenceProviders.length > 0')
label Session persistence
select.form-control(
[(ngModel)]='config.store.terminal.persistence',
@ -268,15 +266,6 @@ h3.mt-3.mb-3 Shell
[ngValue]='provider.id'
) {{provider.displayName}}
.form-group(*ngIf='config.store.terminal.shell == "custom"')
label Custom shell
input.form-control(
type='text',
[(ngModel)]='config.store.terminal.customShell',
(ngModelChange)='config.save()',
)
.col-md-6
.form-group
label Working directory
input.form-control(
@ -286,6 +275,13 @@ h3.mt-3.mb-3 Shell
(ngModelChange)='config.save()',
)
.form-group(*ngIf='config.store.terminal.shell == "custom"')
label Custom shell
input.form-control(
type='text',
[(ngModel)]='config.store.terminal.customShell',
(ngModelChange)='config.save()',
)
h3.mt-3.mb-3 Behaviour
@ -321,7 +317,7 @@ h3.mt-3.mb-3 Behaviour
| Audible
.form-group
label Right click behaviour
label Right click
br
.btn-group(
[(ngModel)]='config.store.terminal.rightClick',