Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions core/scss/components/loader/loader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,20 +138,10 @@
}

.md-spinner-progress__mask {
clip: rect(
0px,
#{$circle-size},
#{$circle-size},
calc(#{$circle-size} / 2)
);
clip: rect(0px, #{$circle-size}, #{$circle-size}, calc(#{$circle-size} / 2));

.md-spinner-progress__fill {
clip: rect(
0px,
calc(#{$circle-size} / 2),
#{$circle-size},
0px
);
clip: rect(0px, calc(#{$circle-size} / 2), #{$circle-size}, 0px);
}
}
}
Expand Down Expand Up @@ -185,7 +175,7 @@
}

$i: 0;
$increment: 180deg / 100;
$increment: calc(180deg / 100);

@for $i from 0 through 100 {
&.md-spinner-progress__percentage-#{$i} {
Expand Down
9 changes: 2 additions & 7 deletions core/scss/components/loader/placeholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,7 @@
}

.md-spinner-progress__mask {
clip: rect(
0px,
#{$circle-size},
#{$circle-size},
calc(#{$circle-size} / 2)
);
clip: rect(0px, #{$circle-size}, #{$circle-size}, calc(#{$circle-size} / 2));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having some issues with the formatting, but this matches the printWidth: 100 in the .prettierrc.json file


.md-spinner-progress__fill {
clip: rect(0px, calc(#{$circle-size} / 2), #{$circle-size}, 0px);
Expand Down Expand Up @@ -175,7 +170,7 @@
}

$i: 0;
$increment: 180deg / 100;
$increment: calc(180deg / 100);

@for $i from 0 through 100 {
&.md-spinner-progress__percentage-#{$i} {
Expand Down
Loading