woocommerce/plugins/woocommerce-blocks/assets/js/blocks/order-confirmation/billing-address/style.scss

34 lines
758 B
SCSS

// Parent element should hide column when there is no address.
.woocommerce-order-confirmation-address-wrapper {
.wp-block-column:empty {
display: none;
}
}
// Prevent margin on the first element in this wrapper.
.wp-block-woocommerce-order-confirmation-billing-wrapper > *:first-child {
margin-top: 0;
}
.wp-block-woocommerce-order-confirmation-billing-wrapper {
.block-editor-block-list__layout > *:first-child {
margin-top: 0 !important;
}
}
.wc-block-order-confirmation-billing-address {
border: 1px solid $universal-border-light;
border-radius: $universal-border-radius;
padding: $gap;
address,
p {
width: 100% !important;
display: block;
box-sizing: border-box;
margin: 0 0 $gap;
&:last-child {
margin-bottom: 0;
}
}
}