Skip to content

Commit bd1485a

Browse files
committed
Area Chart: fix spacing
1 parent a359093 commit bd1485a

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

src/charts/_area.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,9 @@
236236

237237
// Spacing
238238
@for $i from 1 through 20 {
239-
&.data-spacing-#{$i} {
240-
tbody tr {
241-
padding-inline-start: $i * 1px;
242-
padding-inline-end: $i * 1px;
243-
}
244-
}
245-
}
246-
@for $i from 1 through 20 {
239+
&.data-spacing-#{$i},
247240
&.datasets-spacing-#{$i} {
248-
tbody tr td {
241+
tbody tr td::before {
249242
margin-inline-start: $i * 1px;
250243
margin-inline-end: $i * 1px;
251244
}

0 commit comments

Comments
 (0)