Implement workaround for Chromium autofill visual bug
parent
09e7fab141
commit
80a013bb52
|
@ -157,3 +157,7 @@ body {
|
||||||
#layout:fullscreen #dpad, #layout:fullscreen #apad {
|
#layout:fullscreen #dpad, #layout:fullscreen #apad {
|
||||||
bottom: 6rem;
|
bottom: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input:-internal-autofill-selected {
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
}
|
|
@ -50,6 +50,7 @@ export abstract class FormModalUiHandler extends ModalUiHandler {
|
||||||
this.modalContainer.add(label);
|
this.modalContainer.add(label);
|
||||||
|
|
||||||
const inputContainer = this.scene.add.container(70, (hasTitle ? 28 : 2) + 20 * f);
|
const inputContainer = this.scene.add.container(70, (hasTitle ? 28 : 2) + 20 * f);
|
||||||
|
inputContainer.setVisible(false);
|
||||||
|
|
||||||
const inputBg = addWindow(this.scene, 0, 0, 80, 16, false, false, 0, 0, WindowVariant.XTHIN);
|
const inputBg = addWindow(this.scene, 0, 0, 80, 16, false, false, 0, 0, WindowVariant.XTHIN);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue