Skip to content

Commit fe17ac2

Browse files
committed
AC-9713:Upgrade Less Library(fix issue for grunt less:luma)
1 parent 64b3506 commit fe17ac2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/design/frontend/Magento/luma/web/css/source/_extends.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@
14371437
}
14381438

14391439
.order-status {
1440-
@order-status-indent: ceil(@h1__margin-bottom/2);
1440+
@order-status-indent: ceil((@h1__margin-bottom/2));
14411441
margin: -@order-status-indent 0 @indent__s;
14421442
}
14431443
}
@@ -1450,7 +1450,7 @@
14501450
.page-main {
14511451
.page-title-wrapper {
14521452
.order-date {
1453-
@order-date-indent: ceil(@h1__margin-bottom/1.5);
1453+
@order-date-indent: ceil((@h1__margin-bottom/1.5));
14541454
margin: -@order-date-indent 0 18px;
14551455
}
14561456
}

lib/web/css/source/lib/variables/_typography.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@font-size-ratio__base: 1.4; // Defines ratio of the root font-size to the base font-size
3030

3131
@font-size-unit: rem; // The unit to which most typography values will be converted by default
32-
@font-size-unit-ratio: unit(@root__font-size * 16/100); // Ratio of the root font-size to the font-size unit
32+
@font-size-unit-ratio: unit((@root__font-size * 16/100)); // Ratio of the root font-size to the font-size unit
3333
@font-size-unit-convert: true; // Controls whether font-size values are converted to the specified font-size unit
3434

3535
@font-size__base: unit(@font-size-unit-ratio * @font-size-ratio__base, px); // Base font size value in <b>px</b>
@@ -73,8 +73,8 @@
7373
@indent__xl: @indent__base * 2; // 40px
7474
@indent__l: @indent__base * 1.5; // 30px
7575
@indent__m: @indent__base * 1.25; // 25px
76-
@indent__s: @indent__base / 2; // 10px
77-
@indent__xs: @indent__base / 4; // 5px
76+
@indent__s: (@indent__base / 2); // 10px
77+
@indent__xs: (@indent__base / 4); // 5px
7878

7979
//
8080
// Borders

0 commit comments

Comments
 (0)