Skip to content

Commit 33c0fef

Browse files
committed
Revert breaking changes in math - no 3.0.9 release
1 parent 4e95d6b commit 33c0fef

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Changelog
22

3-
## 3.0.9 - May 5, 2023
4-
5-
- Replace legacy slash divisions with `math.div()` to get rid of sass warnings
6-
73
## 3.0.8 - December 14, 2022
84

95
- 🏠 INTERNAL: Remove documentation from npm package

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "susy",
33
"title": "Susy",
4-
"version": "3.0.9",
4+
"version": "3.0.8",
55
"description": "Sass power-tools for web layout.",
66
"homepage": "http://oddbird.net/susy",
77
"author": "Miriam Eric Suzanne <[email protected]>",

sass/_version.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$_susy-version: (
2020
'major': 3,
2121
'minor': 0,
22-
'patch': 9,
22+
'patch': 8,
2323
);
2424

2525

sass/susy/_su-math.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@use 'sass:math';
2-
31
/// Grid Math Engine
42
/// ================
53
/// The `su` functions give you direct access to the math layer,
@@ -92,7 +90,7 @@
9290
@if unitless($span-width) {
9391
$container-spread: su-valid-spread($container-spread);
9492
$container: _su-sum($columns, $gutters, $container-spread, $validate: false);
95-
@return percentage(math.div($span-width, $container));
93+
@return percentage($span-width / $container);
9694
}
9795

9896
@return $span-width;
@@ -143,7 +141,7 @@
143141
}
144142

145143
$container: _su-sum($columns, $gutters, $container-spread);
146-
@return percentage(math.div($gutters, $container));
144+
@return percentage($gutters / $container);
147145
}
148146

149147

0 commit comments

Comments
 (0)