Popover layout fix
This commit is contained in:
@@ -74,14 +74,12 @@ import {KeyActionSaver} from './key-action-saver';
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" [ngSwitch]="activeListItemIndex">
|
<div class="row" [ngSwitch]="activeListItemIndex">
|
||||||
<div class="popover-content">
|
<keypress-tab #tab *ngSwitchWhen="0" class="popover-content"></keypress-tab>
|
||||||
<keypress-tab #tab *ngSwitchWhen="0"></keypress-tab>
|
<layer-tab #tab *ngSwitchWhen="1" class="popover-content"></layer-tab>
|
||||||
<layer-tab #tab *ngSwitchWhen="1"></layer-tab>
|
<mouse-tab #tab *ngSwitchWhen="2" class="popover-content"></mouse-tab>
|
||||||
<mouse-tab #tab *ngSwitchWhen="2"></mouse-tab>
|
<macro-tab #tab *ngSwitchWhen="3" class="popover-content"></macro-tab>
|
||||||
<macro-tab #tab *ngSwitchWhen="3"></macro-tab>
|
<keymap-tab #tab *ngSwitchWhen="4" class="popover-content"></keymap-tab>
|
||||||
<keymap-tab #tab *ngSwitchWhen="4"></keymap-tab>
|
<none-tab #tab *ngSwitchWhen="5" class="popover-content"></none-tab>
|
||||||
<none-tab #tab *ngSwitchWhen="5"></none-tab>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="popover-action">
|
<div class="popover-action">
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
:host {
|
:host {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
:host {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
@@ -45,6 +45,7 @@ import { KeyActionSaver } from '../key-action-saver';
|
|||||||
</i>
|
</i>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
|
styles: [require('./keypress-tab.component.scss')],
|
||||||
directives: [CaptureKeystrokeButtonComponent]
|
directives: [CaptureKeystrokeButtonComponent]
|
||||||
})
|
})
|
||||||
export class KeypressTabComponent implements OnInit, KeyActionSaver {
|
export class KeypressTabComponent implements OnInit, KeyActionSaver {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
:host {
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
span {
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -21,7 +21,8 @@ import { KeyActionSaver } from '../key-action-saver';
|
|||||||
<span>
|
<span>
|
||||||
layer by holding this key.
|
layer by holding this key.
|
||||||
</span>
|
</span>
|
||||||
`
|
`,
|
||||||
|
styles: [require('./layer-tab.component.scss')]
|
||||||
})
|
})
|
||||||
export class LayerTabComponent implements OnInit, KeyActionSaver {
|
export class LayerTabComponent implements OnInit, KeyActionSaver {
|
||||||
private toggle: boolean;
|
private toggle: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user