Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchox5 committed Jul 29, 2024
1 parent b7b6339 commit e7a3045
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scss/_radial-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@for $i from 1 through $max-orbiters {
.orbit:has(> :nth-child(#{$i} of .side)),
[class*='orbit-']:has(> :nth-child(#{$i} of .side)) {
--o-angle: calc(var(--o-range) / #{$i });
--o-angle: calc(var(--o-range) / #{$i});
}
}

1 change: 0 additions & 1 deletion src/scss/_slice.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ o-slice {
position: absolute;
pointer-events: none;
width: 100%;
stroke-dashoffset: var(--o-angle);
r: var(--o-radius);
stroke-width: calc(var(--o-radius) / var(--o-orbit-number) * var(--o-size-ratio, 1));
transform: rotate(calc(var(--o-from) + var(--o-angle-composite)));
Expand Down
2 changes: 1 addition & 1 deletion src/scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Can be used in parent elements or in each orbiter class

@for $i from 1 through 9 {
$percent: calc($i * 10);
$value: calc($i / 10);
$value: calc(1 - $i / 10);
.shrink-#{$percent} {
--o-size-ratio: #{$value} !important;
}
Expand Down

0 comments on commit e7a3045

Please sign in to comment.