Browse Source

:|

master
JayPY Code 5 months ago
parent
commit
18846914ab
2 changed files with 5 additions and 2 deletions
  1. +2
    -1
      package.json
  2. +3
    -1
      src/components/measurement.circle/measurement.circle.marks.scss

+ 2
- 1
package.json View File

@ -14,6 +14,7 @@
"style-loader": "^2.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.37.1",
"webpack-cli": "^4.7.0"
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
}
}

+ 3
- 1
src/components/measurement.circle/measurement.circle.marks.scss View File

@ -1,3 +1,5 @@
@use "sass:math";
@mixin marks {
$text-size: 50px;
$text-color: white;
@ -78,7 +80,7 @@
@if $i == 1 {
transform: rotate(90deg);
} @else {
transform: rotate(#{((($i - 1) / 10) * -30deg) + 90deg});
transform: rotate(#{(math.div($i - 1, 10) * -30deg) + 90deg});
}
}
}

Loading…
Cancel
Save