ui tweaks

This commit is contained in:
Eugene Pankov
2021-03-02 09:52:48 +01:00
parent 18fc0fa886
commit 7c8d8ebc81
4 changed files with 16 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
(ngModelChange)='onFilterChange()' (ngModelChange)='onFilterChange()'
) )
.list-group.mt-3(*ngIf='filteredOptions.length') .list-group(*ngIf='filteredOptions.length')
a.list-group-item.list-group-item-action.d-flex.align-items-center( a.list-group-item.list-group-item-action.d-flex.align-items-center(
#item, #item,
(click)='selectOption(option)', (click)='selectOption(option)',

View File

@@ -1,6 +1,12 @@
.modal-body {
padding: 0;
}
.list-group { .list-group {
max-height: 70vh; max-height: 70vh;
overflow: auto; overflow: auto;
border-top-left-radius: 0;
border-top-right-radius: 0;
} }
.icon { .icon {

View File

@@ -4,6 +4,7 @@ import { SelectorOption } from '../api/selector'
/** @hidden */ /** @hidden */
@Component({ @Component({
selector: 'selector-modal',
template: require('./selectorModal.component.pug'), template: require('./selectorModal.component.pug'),
styles: [require('./selectorModal.component.scss')], styles: [require('./selectorModal.component.scss')],
}) })

View File

@@ -6,19 +6,20 @@ ngb-tabset.vertical(type='pills', [activeId]='activeTab')
i.fas.fa-fw.fa-window-maximize.mr-2 i.fas.fa-fw.fa-window-maximize.mr-2
| Application | Application
ng-template(ngbTabContent) ng-template(ngbTabContent)
.d-flex.align-items-center.mb-4 .d-flex.align-items-center.flex-wrap.mb-4
h1.terminus-title.mb-2.mr-2 Terminus h1.terminus-title.mb-2.mr-2 Terminus
sup α sup α
.text-muted.mr-auto {{homeBase.appVersion}} .text-muted.mr-auto {{homeBase.appVersion}}
button.btn.btn-secondary.mr-3((click)='homeBase.openGitHub()') div
i.fab.fa-github button.btn.btn-secondary.mr-3((click)='homeBase.openGitHub()')
span GitHub i.fab.fa-github
span GitHub
button.btn.btn-secondary((click)='homeBase.reportBug()') button.btn.btn-secondary((click)='homeBase.reportBug()')
i.fas.fa-bug i.fas.fa-bug
span Report a problem span Report a problem
.form-line .form-line
.header .header