3 Commits

Author SHA1 Message Date
Róbert Kiss
38c60d9cc0 fix: keyboard description z-index 2019-08-03 11:29:30 +02:00
Róbert Kiss
f6bef928fe chore(usb): add kboot-firmware-upgrade script (#1006) 2019-08-02 02:51:07 +02:00
Róbert Kiss
5ab5ad5f0c feat: ESC cancel the keymap description editing (#1007) 2019-07-31 10:03:29 +02:00
3 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
<textarea class="text-editor" <textarea class="text-editor"
[(ngModel)]="text" [(ngModel)]="text"
autofocus autofocus
(keydown.escape)="cancelEditText()"
(keydown.control.enter)="keydownEnter()" (keydown.control.enter)="keydownEnter()"
(keydown.alt.enter)="keydownEnter()"></textarea> (keydown.alt.enter)="keydownEnter()"></textarea>
<div class="pull-right buttons"> <div class="pull-right buttons">

View File

@@ -1,4 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" <svg xmlns="http://www.w3.org/2000/svg"
class="svgKeyboard"
[attr.viewBox]="viewBox" [attr.viewBox]="viewBox"
height="100%" height="100%"
width="100%"> width="100%">

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -3,8 +3,14 @@
width: 100%; width: 100%;
position: relative; position: relative;
} }
.svgKeyboard {
z-index: 50;
}
editable-text { editable-text {
padding-left: 2em; padding-left: 2em;
padding-right: 2em; padding-right: 2em;
display: block; display: block;
z-index: 51;
} }