Skip to content

Commit 76db0af

Browse files
committed
Mixins: move the circle bg to the mixin
1 parent f9bf83d commit 76db0af

5 files changed

Lines changed: 1 addition & 8 deletions

File tree

src/charts/_pie.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
tbody {
1010
@include circle();
1111

12-
background-color: var(--chart-bg-color);
13-
1412
tr {
1513
@include visually-hidden();
1614
}

src/charts/_polar.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
tbody {
1010
@include circle();
1111

12-
background-color: var(--chart-bg-color);
13-
1412
tr {
1513
@include visually-hidden();
1614
}

src/charts/_radar.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
tbody {
1010
@include circle();
1111

12-
background-color: var(--chart-bg-color);
13-
1412
tr {
1513
@include visually-hidden();
1614
}

src/charts/_radial.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
tbody {
1010
@include circle();
1111

12-
background-color: var(--chart-bg-color);
13-
1412
tr {
1513
@include visually-hidden();
1614
}

src/general/_mixins.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
height: 0; // old hack for "aspect-ratio"
2222
padding-block-end: 100%; // makes height 100% of the width
2323
border-radius: 50%;
24+
background-color: var(--chart-bg-color);
2425
}

0 commit comments

Comments
 (0)