Skip to content

Commit f2080ab

Browse files
committed
Line Chart: move labels logic to "show-labels"
1 parent 24291fe commit f2080ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/charts/_line.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
position: absolute;
3434
right: 0;
3535
left: 0;
36-
justify-content: var(--labels-align, center);
37-
flex-direction: column;
3836
}
3937

4038
td {
@@ -83,7 +81,9 @@
8381

8482
tbody tr th {
8583
display: flex;
84+
justify-content: var(--labels-align, center);
8685
align-items: center;
86+
flex-direction: column;
8787
}
8888
}
8989
&.labels-align-start {

0 commit comments

Comments
 (0)