Implementation of the space
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
:host {
|
||||
width: 100%;
|
||||
display: block;
|
||||
|
||||
&.space {
|
||||
margin-bottom: 405px;
|
||||
}
|
||||
}
|
||||
|
||||
svg-keyboard {
|
||||
|
||||
@@ -2,6 +2,7 @@ import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
ElementRef,
|
||||
HostBinding,
|
||||
HostListener,
|
||||
Input,
|
||||
OnChanges,
|
||||
@@ -107,6 +108,10 @@ export class SvgKeyboardWrapComponent implements OnInit, OnChanges {
|
||||
private wrapHost: HTMLElement;
|
||||
private keyElement: HTMLElement;
|
||||
|
||||
@HostBinding('class.space') get space() {
|
||||
return this.popoverEnabled;
|
||||
}
|
||||
|
||||
@HostListener('window:resize')
|
||||
onResize() {
|
||||
if (this.wrapHost) {
|
||||
|
||||
Reference in New Issue
Block a user