Skip to content

Commit 64965ce

Browse files
committed
MC-16153: Use Magento LESS media queries in Page Builder to stop storefront style duplication
- fix static errors
1 parent 83926e3 commit 64965ce

File tree

1 file changed

+5
-5
lines changed
  • app/code/Magento/PageBuilder/view/frontend/web/css/source

1 file changed

+5
-5
lines changed

app/code/Magento/PageBuilder/view/frontend/web/css/source/_icons.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
font-weight: normal;
1010
src: url('@{icons-pagebuilder__font-path}.eot');
1111
src: url('@{icons-pagebuilder__font-path}.eot?#iefix') format('embedded-opentype'),
12-
url('@{icons-pagebuilder__font-path}.woff') format('woff'),
13-
url('@{icons-pagebuilder__font-path}.ttf') format('truetype');
12+
url('@{icons-pagebuilder__font-path}.woff') format('woff'),
13+
url('@{icons-pagebuilder__font-path}.ttf') format('truetype');
1414
}
1515

1616
//
@@ -19,8 +19,8 @@
1919

2020
& when (@media-common = true) {
2121
.pagebuilder-icon {
22-
font-family: @icons-pagebuilder__font-name;
2322
-webkit-font-smoothing: antialiased;
23+
font-family: @icons-pagebuilder__font-name;
2424
font-style: normal;
2525
font-weight: normal;
2626
line-height: 1;
@@ -29,10 +29,10 @@
2929

3030
[class^='pagebuilder-icon-']:before,
3131
[class*=' pagebuilder-icon-']:before {
32+
-moz-osx-font-smoothing: grayscale;
33+
-webkit-font-smoothing: antialiased;
3234
display: inline-block;
3335
font-family: @icons-pagebuilder__font-name;
34-
-webkit-font-smoothing: antialiased;
35-
-moz-osx-font-smoothing: grayscale;
3636
font-style: normal;
3737
font-weight: normal;
3838
line-height: 1;

0 commit comments

Comments
 (0)