From 9530661b19a11aa4831da8e9b8c2414044f0a24c Mon Sep 17 00:00:00 2001 From: Noley Holland Date: Mon, 9 Mar 2026 07:49:17 -0700 Subject: [PATCH] Remove margin on red-ui-tabs to fix node red dashboard styling --- .../node_modules/@node-red/editor-client/src/sass/tabs.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/node_modules/@node-red/editor-client/src/sass/tabs.scss b/packages/node_modules/@node-red/editor-client/src/sass/tabs.scss index 1bee6eab4..f2905a77f 100644 --- a/packages/node_modules/@node-red/editor-client/src/sass/tabs.scss +++ b/packages/node_modules/@node-red/editor-client/src/sass/tabs.scss @@ -16,6 +16,12 @@ * limitations under the License. **/ +// Counter-act unscoped third-party CSS (e.g. node-red-dashboard's +// `.red-ui-tabs { margin-bottom: 15px }`) by using a more specific selector. +body .red-ui-tabs { + margin-bottom: 0; +} + .red-ui-tabs { position: relative; background: var(--red-ui-tab-background);