diff --git a/src/components/popover/popover.component.ts b/src/components/popover/popover.component.ts index 22bfa224..32cf47e2 100644 --- a/src/components/popover/popover.component.ts +++ b/src/components/popover/popover.component.ts @@ -74,14 +74,12 @@ import {KeyActionSaver} from './key-action-saver';
-
- - - - - - -
+ + + + + +
diff --git a/src/components/popover/tab/keymap-tab.component.scss b/src/components/popover/tab/keymap-tab.component.scss index 5a40a97b..c0ec133d 100644 --- a/src/components/popover/tab/keymap-tab.component.scss +++ b/src/components/popover/tab/keymap-tab.component.scss @@ -1,4 +1,6 @@ :host { + display: flex; + flex-direction: column; margin-top: 2px; > div { diff --git a/src/components/popover/tab/keypress-tab.component.scss b/src/components/popover/tab/keypress-tab.component.scss new file mode 100644 index 00000000..1637f879 --- /dev/null +++ b/src/components/popover/tab/keypress-tab.component.scss @@ -0,0 +1,4 @@ +:host { + display: flex; + flex-direction: column; +} \ No newline at end of file diff --git a/src/components/popover/tab/keypress-tab.component.ts b/src/components/popover/tab/keypress-tab.component.ts index 59c4f61c..6a153dc8 100644 --- a/src/components/popover/tab/keypress-tab.component.ts +++ b/src/components/popover/tab/keypress-tab.component.ts @@ -45,6 +45,7 @@ import { KeyActionSaver } from '../key-action-saver';
`, + styles: [require('./keypress-tab.component.scss')], directives: [CaptureKeystrokeButtonComponent] }) export class KeypressTabComponent implements OnInit, KeyActionSaver { diff --git a/src/components/popover/tab/layer-tab.component.scss b/src/components/popover/tab/layer-tab.component.scss new file mode 100644 index 00000000..dd1bb678 --- /dev/null +++ b/src/components/popover/tab/layer-tab.component.scss @@ -0,0 +1,7 @@ +:host { + display: flex; + + span { + margin: 0 5px; + } +} \ No newline at end of file diff --git a/src/components/popover/tab/layer-tab.component.ts b/src/components/popover/tab/layer-tab.component.ts index 542918cf..e213f780 100644 --- a/src/components/popover/tab/layer-tab.component.ts +++ b/src/components/popover/tab/layer-tab.component.ts @@ -21,7 +21,8 @@ import { KeyActionSaver } from '../key-action-saver'; layer by holding this key. - ` + `, + styles: [require('./layer-tab.component.scss')] }) export class LayerTabComponent implements OnInit, KeyActionSaver { private toggle: boolean;