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

34 lines
737 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: 2px;
padding: $gap;
address,
p {
width: 100% !important;
display: block;
box-sizing: border-box;
margin: 0 0 $gap;
&:last-child {
margin-bottom: 0;
}
}
}