Fix variable input field size (#38850) (#39156)

This commit is contained in:
Alexander Kubyshkin 2021-09-20 13:11:24 +03:00 committed by GitHub
parent c8e94a2443
commit 8cdc752497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ export class VariableInput extends PureComponent<Props> {
ref={(instance) => {
if (instance) {
instance.focus();
instance.setAttribute('style', `width:${Math.max(instance.width, 80)}px`);
instance.setAttribute('style', `width:${Math.max(instance.width, 150)}px`);
}
}}
type="text"