Add floating soft keyboard input
This commit is contained in:
@@ -21,6 +21,7 @@ body.term {
|
||||
padding: 6px;
|
||||
display: inline-block;
|
||||
border: 2px solid #3983CD;
|
||||
position: relative;
|
||||
|
||||
font-size: 20px; // some font heights cause visual glitches with some font renderers. This should be configurable.
|
||||
font-family: $screen-stack;
|
||||
@@ -28,6 +29,20 @@ body.term {
|
||||
canvas.selectable {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
// Dummy input field used to open soft keyboard
|
||||
#softkb-input {
|
||||
position: absolute;
|
||||
// compensate for padding
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
background: none;
|
||||
border: none;
|
||||
resize: none;
|
||||
// visible for debugging. do opacity 0 later on
|
||||
}
|
||||
}
|
||||
|
||||
#action-buttons {
|
||||
@@ -99,12 +114,6 @@ body.term {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// Dummy input field used to open android keyboard
|
||||
#softkb-input {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
}
|
||||
|
||||
#fu_modal {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user