From 2711e3394a3fa7b3c1cd8922a15072cf1242f504 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Tue, 24 Sep 2024 14:35:45 +0200 Subject: [PATCH] fix(style): Prevent percentage circle from overlapping background circle --- frontend/src/components/Circle/Circle.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Circle/Circle.scss b/frontend/src/components/Circle/Circle.scss index 0e82be724..5fd324734 100644 --- a/frontend/src/components/Circle/Circle.scss +++ b/frontend/src/components/Circle/Circle.scss @@ -3,20 +3,20 @@ margin-bottom: 15px; margin-top: 15px; - > svg, + >svg, .content { position: absolute; left: 0; top: 0; } - > svg { + >svg { @extend .circleIntro; } .circle-percentage { transition: stroke-dashoffset 0.1s linear; transform: rotate(-90deg); - transform-origin: 50% 50%; + transform-origin: 0% 0%; } }