Skip to content

Commit b0facda

Browse files
authored
Improve tree view text alignment (cylc#2348)
1 parent 6e8cfba commit b0facda

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/styles/cylc/_tree.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$active-color: #BDD5F7;
2222
/** Height of each line/row in the tree. */
23-
$line-height: 1.8em;
23+
$node-height: 1.8em;
2424
/**
2525
* The number of visible outputs in the job info box, under the “outputs” header.
2626
* This value is used to calculate the maximum height of the
@@ -64,7 +64,8 @@ $icon-width: 1.5rem;
6464
vertical-align:middle;
6565
width: 100%;
6666
.node {
67-
line-height: $line-height;
67+
min-height: $node-height;
68+
line-height: normal;
6869
display: block;
6970

7071
.node-expand-collapse-button {

0 commit comments

Comments
 (0)