Skip to content

Commit 22fa05c

Browse files
committed
Merge branch 'develop' of https://github.com/adobe-commerce-tier-4/magento2-page-builder into PR-03-12-2024-anna
2 parents ce953dc + 137be8b commit 22fa05c

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/products/_default.less

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
margin-left: -20px;
2828
}
2929

30-
.product-items {
31-
&:extend(.abs-reset-list all);
32-
}
33-
3430
.product-item {
3531
display: inline-block;
3632
max-width: 100%;
@@ -40,8 +36,6 @@
4036
vertical-align: top;
4137
width: 200px;
4238

43-
&:extend(.abs-add-box-sizing all);
44-
4539
a,
4640
button,
4741
.swatch-attribute-options {
@@ -192,24 +186,16 @@
192186
}
193187

194188
&.towishlist {
195-
&:extend(.abs-actions-addto all);
196-
.lib-icon-font-symbol(
197-
@_icon-font-content: @icon-wishlist-full,
198-
@_icon-font-position: before
199-
);
189+
.lib-icon-font-symbol(@_icon-font-content: @icon-wishlist-full, @_icon-font-position: before);
200190
}
201191

202192
&.tocompare {
203-
.lib-icon-font-symbol(
204-
@_icon-font-content: @icon-compare-full,
205-
@_icon-font-position: before
206-
);
193+
.lib-icon-font-symbol(@_icon-font-content: @icon-compare-full, @_icon-font-position: before);
207194
}
208195
}
209196
}
210197

211198
.product-item-name {
212-
&:extend(.abs-product-link all);
213199
-moz-hyphens: auto;
214200
-ms-hyphens: auto;
215201
-webkit-hyphens: auto;
@@ -251,11 +237,7 @@
251237
}
252238

253239
.rating-summary {
254-
.lib-rating-summary(
255-
@_icon-font: 'luma-icons',
256-
@_icon-font-size: 16px,
257-
@_icon-letter-spacing: 2px
258-
);
240+
.lib-rating-summary(@_icon-font: 'luma-icons', @_icon-font-size: 16px, @_icon-letter-spacing: 2px);
259241
.lib-rating-summary-label-hide();
260242

261243
display: inline-block;
@@ -274,7 +256,6 @@
274256
overflow: hidden;
275257
position: relative;
276258
z-index: 1;
277-
&:extend(.abs-reset-image-wrapper all);
278259
}
279260

280261
.product-image-container {

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/validator-rules-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ define([
6767
* @return {Boolean}
6868
*/
6969
function validateCssClass(str) {
70-
return (/^[a-zA-Z _\-\d]+$/i).test(str);
70+
return (/^[a-zA-Z\d\-_/:.[\]&@()! ]+$/i).test(str);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)