From e7a304546d75c475f14c725a06e54b2b96ebe31a Mon Sep 17 00:00:00 2001 From: Juan Martin Date: Mon, 29 Jul 2024 13:39:54 +0300 Subject: [PATCH] update --- src/scss/_radial-layout.scss | 2 +- src/scss/_slice.scss | 1 - src/scss/_utilities.scss | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/scss/_radial-layout.scss b/src/scss/_radial-layout.scss index 2224a56..6fcc681 100644 --- a/src/scss/_radial-layout.scss +++ b/src/scss/_radial-layout.scss @@ -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}); } } diff --git a/src/scss/_slice.scss b/src/scss/_slice.scss index 348eeb5..2e8c2e7 100644 --- a/src/scss/_slice.scss +++ b/src/scss/_slice.scss @@ -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))); diff --git a/src/scss/_utilities.scss b/src/scss/_utilities.scss index df5a3f1..d2670ac 100644 --- a/src/scss/_utilities.scss +++ b/src/scss/_utilities.scss @@ -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; }