Merge pull request #5548 from n-lark/5540-node-red-dashboard-tabs-fix

[5540] UX: handle node-red-dashboard css poisoning
pull/5550/head
Nick O'Leary 2026-03-09 16:14:43 +00:00 committed by GitHub
commit cd8fbc47c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -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);