Make font resizing affect the keyboard too.
The keyboard font size now changes along with the terminal font size. This allows the keyboard to work at page widths down at least to 600px.
This commit is contained in:
parent
2ab0de0799
commit
a48b02dc13
2 changed files with 4 additions and 1 deletions
|
|
@ -822,7 +822,9 @@ function textsize(larger) {
|
|||
else
|
||||
nsize = 48;
|
||||
}
|
||||
document.getElementById("term").style.fontSize = nsize.toString() + "px";
|
||||
var cssvalstr = nsize.toString() + "px";
|
||||
document.getElementById("term").style.fontSize = cssvalstr;
|
||||
document.getElementById("keys").style.fontSize = cssvalstr;
|
||||
termemu.fixsize();
|
||||
debug(1, "Changing font size to " + nsize.toString());
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue