From 1f4f64a7c04f56720712c08e91cbb1924e9dc244 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Sun, 2 May 2021 22:44:48 +0100 Subject: [PATCH] handle node-red style affecting monaco rename box --- .../@node-red/editor-client/src/vendor/monaco/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/vendor/monaco/style.css b/packages/node_modules/@node-red/editor-client/src/vendor/monaco/style.css index b7ee69102..3608a4c65 100644 --- a/packages/node_modules/@node-red/editor-client/src/vendor/monaco/style.css +++ b/packages/node_modules/@node-red/editor-client/src/vendor/monaco/style.css @@ -13,4 +13,10 @@ This stylesheet overrides those to correct some graphical glitches font-size: unset; color: unset; margin: unset; +} + +/* unset some styles of `input` tag (set by node-red css) for monaco rename box */ +.monaco-editor .rename-box .rename-input { + box-sizing: unset; + height: unset; } \ No newline at end of file