Skip to content

Commit

Permalink
Merge pull request #1160 from tailwarden/fix/dpg-labels
Browse files Browse the repository at this point in the history
fix: fix labels on resource explorer
  • Loading branch information
mlabouardy authored Nov 3, 2023
2 parents da933c1 + ff50c68 commit 59c3a82
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dashboard/components/explorer/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <div> container for every title
cssClass: 'dependency-graph-nodeLabel' // any classes will be as attribute of <div> container for every title
};
12 changes: 9 additions & 3 deletions dashboard/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 59c3a82

Please sign in to comment.