Popover layout fix

This commit is contained in:
József Farkas
2016-05-25 22:24:39 +02:00
parent cff0bd454c
commit 283e10be83
6 changed files with 22 additions and 9 deletions

View File

@@ -1,4 +1,6 @@
:host {
display: flex;
flex-direction: column;
margin-top: 2px;
> div {

View File

@@ -0,0 +1,4 @@
:host {
display: flex;
flex-direction: column;
}

View File

@@ -45,6 +45,7 @@ import { KeyActionSaver } from '../key-action-saver';
</i>
</div>
`,
styles: [require('./keypress-tab.component.scss')],
directives: [CaptureKeystrokeButtonComponent]
})
export class KeypressTabComponent implements OnInit, KeyActionSaver {

View File

@@ -0,0 +1,7 @@
:host {
display: flex;
span {
margin: 0 5px;
}
}

View File

@@ -21,7 +21,8 @@ import { KeyActionSaver } from '../key-action-saver';
<span>
layer by holding this key.
</span>
`
`,
styles: [require('./layer-tab.component.scss')]
})
export class LayerTabComponent implements OnInit, KeyActionSaver {
private toggle: boolean;