From ff50c6802ef536c5134ef7cc354778ae3b14fd4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20R=C3=B6sel?= <320272+Traxmaxx@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:42:38 +0100 Subject: [PATCH] fix: fix labels on resource explorer --- dashboard/components/explorer/config.ts | 2 +- dashboard/styles/globals.css | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dashboard/components/explorer/config.ts b/dashboard/components/explorer/config.ts index 5b4635235..473e580dc 100644 --- a/dashboard/components/explorer/config.ts +++ b/dashboard/components/explorer/config.ts @@ -120,5 +120,5 @@ export const nodeHTMLLabelConfig = { valign: 'bottom', // title vertical position. Can be 'top',''center, 'bottom' halignBox: 'center', // title vertical position. Can be 'left',''center, 'right' valignBox: 'bottom', // title relative box vertical position. Can be 'top',''center, 'bottom' - cssClass: 'dependency-graph-node-label' // any classes will be as attribute of
container for every title + cssClass: 'dependency-graph-nodeLabel' // any classes will be as attribute of
container for every title }; diff --git a/dashboard/styles/globals.css b/dashboard/styles/globals.css index 1e62db64b..655f53ae1 100644 --- a/dashboard/styles/globals.css +++ b/dashboard/styles/globals.css @@ -49,14 +49,20 @@ transform: rotateY(180deg); } -.dependency-graph-node-label { +.dependency-graph-nodeLabel { transition: opacity 0.2s linear; opacity: 0; } .popper-div { - text-shadow: 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, - 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, + text-shadow: + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, + 0 0 5px #f4f9f9, 0 0 5px #f4f9f9; position: relative; color: #000;