Skip to content

Commit 3143a33

Browse files
dvXcodeclaude
andcommitted
Fix SASS syntax for GitHub Pages compatibility
Replace math.div() with standard division operator for compatibility with GitHub Pages sassc version. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4aca396 commit 3143a33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_sass/libraries/hamburgers/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
.hamburger-inner {
5858
display: block;
5959
top: 50%;
60-
margin-top: math.div($hamburger-layer-height, -2);
60+
margin-top: ($hamburger-layer-height / -2);
6161

6262
&,
6363
&::before,

_sass/libraries/hamburgers/types/_slider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
transform: translate3d(0, $y-offset, 0) rotate(45deg);
2828

2929
&::before {
30-
transform: rotate(-45deg) translate3d(math.div($hamburger-layer-width, -7), $hamburger-layer-spacing * -1, 0);
30+
transform: rotate(-45deg) translate3d(($hamburger-layer-width / -7), $hamburger-layer-spacing * -1, 0);
3131
opacity: 0;
3232
}
3333

0 commit comments

Comments
 (0)