Skip to content

Commit 221ef59

Browse files
committed
Small adjustments
1 parent 95a2a09 commit 221ef59

File tree

2 files changed

+20
-4
lines changed
  • app/design/frontend/Magento

2 files changed

+20
-4
lines changed

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_module.less

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,26 @@
457457
.action {
458458
&.delete {
459459
&:extend(.abs-remove-button-for-blocks all);
460-
line-height: unset;
461460
position: absolute;
462461
right: 0;
463462
top: -1px;
464-
width: auto;
463+
}
464+
}
465+
466+
.block-wishlist {
467+
.action {
468+
&.delete {
469+
line-height: unset;
470+
width: auto;
471+
}
472+
}
473+
}
474+
475+
.block-compare {
476+
.action {
477+
&.delete {
478+
right: initial;
479+
}
465480
}
466481
}
467482

@@ -813,8 +828,8 @@
813828
&.delete {
814829
&:extend(.abs-remove-button-for-blocks all);
815830
left: -6px;
816-
right: auto;
817831
position: absolute;
832+
right: 0;
818833
top: 0;
819834
}
820835

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@
10031003
.action {
10041004
&.delete {
10051005
left: 0;
1006-
right: auto;
1006+
right: initial;
10071007
}
10081008
}
10091009
}
@@ -1014,6 +1014,7 @@
10141014
.compare.wrapper {
10151015
display: none;
10161016
}
1017+
10171018
.catalog-product_compare-index {
10181019
.columns {
10191020
.column {

0 commit comments

Comments
 (0)