Skip to content

Commit f3a6038

Browse files
committed
MAGETWO-63037: Additional Address Entries are aligned wrong on storefront
1 parent 779aa5f commit f3a6038

File tree

2 files changed

+22
-2
lines changed
  • app/design/frontend/Magento

2 files changed

+22
-2
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,15 +492,23 @@
492492
.block-addresses-list {
493493
.items.addresses {
494494
&:extend(.abs-add-clearfix-desktop all);
495+
font-size: 0;
495496

496497
> .item {
497-
&:extend(.abs-blocks-2columns all);
498+
display: inline-block;
499+
font-size: @font-size__base;
498500
margin-bottom: @indent__base;
501+
vertical-align: top;
502+
width: 48.8%;
499503

500504
&:nth-last-child(1),
501505
&:nth-last-child(2) {
502506
margin-bottom: 0;
503507
}
508+
509+
&:nth-child(even) {
510+
margin-left: 2.4%;
511+
}
504512
}
505513
}
506514
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@
106106

107107
.box-billing-address,
108108
.box-shipping-address,
109+
.box-address-billing,
110+
.box-address-shipping,
109111
.box-information,
110112
.box-newsletter {
111113
.box-content {
@@ -437,15 +439,23 @@
437439
.block-addresses-list {
438440
.items.addresses {
439441
&:extend(.abs-add-clearfix-desktop all);
442+
font-size: 0;
440443

441444
> .item {
442-
&:extend(.abs-blocks-2columns all);
445+
display: inline-block;
446+
font-size: @font-size__base;
443447
margin-bottom: @indent__base;
448+
vertical-align: top;
449+
width: 48%;
444450

445451
&:nth-last-child(1),
446452
&:nth-last-child(2) {
447453
margin-bottom: 0;
448454
}
455+
456+
&:nth-child(even) {
457+
margin-left: 4%;
458+
}
449459
}
450460
}
451461

@@ -479,6 +489,8 @@
479489

480490
.box-billing-address,
481491
.box-shipping-address,
492+
.box-address-billing,
493+
.box-address-shipping,
482494
.box-information {
483495
.box-content {
484496
&:extend(.abs-account-block-font-size all);

0 commit comments

Comments
 (0)