File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.55.1
2
+
3
+ * Fix indentation for selectors that span multiple lines in a ` @media ` query.
4
+
1
5
## 1.55.0
2
6
3
7
* ** Potentially breaking bug fix:** Sass numbers are now universally stored as
Original file line number Diff line number Diff line change @@ -1240,6 +1240,7 @@ class _SerializeVisitor
1240
1240
_buffer.writeCharCode ($comma);
1241
1241
if (complex.lineBreak) {
1242
1242
_writeLineFeed ();
1243
+ _writeIndentation ();
1243
1244
} else {
1244
1245
_writeOptionalSpace ();
1245
1246
}
@@ -1318,7 +1319,7 @@ class _SerializeVisitor
1318
1319
1319
1320
if (_isTrailingComment (child, previous ?? parent)) {
1320
1321
_writeOptionalSpace ();
1321
- _withoutIndendation (() => child.accept (this ));
1322
+ _withoutIndentation (() => child.accept (this ));
1322
1323
} else {
1323
1324
_writeLineFeed ();
1324
1325
_indent (() {
@@ -1431,7 +1432,7 @@ class _SerializeVisitor
1431
1432
}
1432
1433
1433
1434
/// Runs [callback] without any indentation.
1434
- void _withoutIndendation (void callback ()) {
1435
+ void _withoutIndentation (void callback ()) {
1435
1436
var savedIndentation = _indentation;
1436
1437
_indentation = 0 ;
1437
1438
callback ();
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.55.0
2
+ version : 1.55.1-dev
3
3
description : A Sass implementation in Dart.
4
4
homepage : https://github.com/sass/dart-sass
5
5
You can’t perform that action at this time.
0 commit comments