Skip to content

Commit

Permalink
fix: fix issue with not used calc()
Browse files Browse the repository at this point in the history
  • Loading branch information
jchojna committed Apr 21, 2024
1 parent 38d1adc commit 3af3f3a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Accordion.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
transition: padding $accordion-time;

&::before {
border-radius: $border-radius / 2;
border-radius: calc($border-radius / 2);
content: '';
height: $separator-height;
left: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/BlockTitle.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
text-transform: uppercase;

&::before {
border-radius: $border-radius / 2;
border-radius: calc($border-radius / 2);
content: '';
position: absolute;
top: 0;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Menu.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

.indicator {
background-color: #fff;
border-radius: 0 $border-radius / 2 $border-radius / 2 0;
border-radius: 0 calc($border-radius / 2) calc($border-radius / 2) 0;
height: $menu-item-height;
left: 0;
position: absolute;
Expand All @@ -88,7 +88,7 @@
z-index: 9999;

&.intro {
border-radius: $border-radius / 2;
border-radius: calc($border-radius / 2);
}

&.about {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MobileMenu.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

.indicator {
background-color: #fff;
border-radius: 0 $border-radius / 2 $border-radius / 2 0;
border-radius: 0 calc($border-radius / 2) calc($border-radius / 2) 0;
height: $menu-item-height;
left: 0;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion src/components/resume/ResumeDetails.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $gap: 10px;

&::before {
background-color: $color-resume-black;
border-radius: $border-radius / 2;
border-radius: calc($border-radius / 2);
content: '';
height: 1rem;
margin-right: 0.5rem;
Expand Down

0 comments on commit 3af3f3a

Please sign in to comment.