Checkout: Adjust paddings to align top of page order summary on mobile (#52604)
This commit is contained in:
parent
c5a039604c
commit
6400e25eca
|
@ -1,6 +1,8 @@
|
||||||
.wc-block-components-order-summary {
|
.wc-block-components-order-summary {
|
||||||
|
&.is-large {
|
||||||
// Compensate for removing Panel.
|
// Compensate for removing Panel.
|
||||||
padding: 0 $gap;
|
padding: 0 $gap;
|
||||||
|
}
|
||||||
|
|
||||||
.wc-block-components-order-summary__button-text {
|
.wc-block-components-order-summary__button-text {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@ -113,14 +115,3 @@
|
||||||
padding-top: $gap-smaller;
|
padding-top: $gap-smaller;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-medium,
|
|
||||||
.is-small,
|
|
||||||
.is-mobile {
|
|
||||||
.wp-block-woocommerce-checkout-order-summary-block {
|
|
||||||
.wc-block-components-totals-wrapper {
|
|
||||||
padding-left: $gap-small;
|
|
||||||
padding-right: $gap-small;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
border: 1px solid $universal-border-light;
|
border: 1px solid $universal-border-light;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
||||||
|
&.checkout-order-summary-block-fill-wrapper {
|
||||||
|
.wc-block-components-order-summary {
|
||||||
|
padding: 0 $gap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.wc-block-components-formatted-money-amount {
|
.wc-block-components-formatted-money-amount {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: tweak
|
||||||
|
|
||||||
|
Adjust paddings on top of page order summary to better align on mobile.
|
Loading…
Reference in New Issue