2021-09-16 12:16:21 +00:00
|
|
|
.wc-block-checkout__form {
|
|
|
|
margin: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.is-mobile,
|
|
|
|
.is-small,
|
|
|
|
.is-medium {
|
|
|
|
.wc-block-checkout__main {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.is-small,
|
|
|
|
.is-medium,
|
|
|
|
.is-large {
|
2021-09-24 14:11:51 +00:00
|
|
|
.wc-block-checkout__shipping-fields,
|
|
|
|
.wc-block-checkout__billing-fields {
|
|
|
|
.wc-block-components-address-form {
|
2023-08-03 11:02:20 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
2023-11-10 07:07:49 +00:00
|
|
|
gap: 0 calc(#{$gap-smaller} * 2); // Required for spacing especially when using flex-grow
|
2021-09-16 12:16:21 +00:00
|
|
|
|
2021-09-24 14:11:51 +00:00
|
|
|
.wc-block-components-text-input,
|
2023-12-15 14:39:22 +00:00
|
|
|
.wc-block-components-state-input,
|
|
|
|
.wc-block-components-select-input {
|
2023-11-10 07:07:49 +00:00
|
|
|
flex: 1 0 calc(50% - #{$gap-smaller}); // "flex-grow = 1" allows the input to grow to fill the space
|
2023-08-03 11:02:20 +00:00
|
|
|
box-sizing: border-box;
|
2021-09-16 12:16:21 +00:00
|
|
|
|
2021-09-24 14:11:51 +00:00
|
|
|
&:nth-of-type(2),
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
|
2021-09-24 14:11:51 +00:00
|
|
|
.wc-block-components-address-form__company,
|
|
|
|
.wc-block-components-address-form__address_1,
|
2023-11-10 07:07:49 +00:00
|
|
|
.wc-block-components-address-form__address_2,
|
2023-12-18 12:21:36 +00:00
|
|
|
.wc-block-components-country-input,
|
|
|
|
.wc-block-components-checkbox {
|
2023-08-03 11:02:20 +00:00
|
|
|
flex: 0 0 100%;
|
2021-09-24 14:11:51 +00:00
|
|
|
}
|
2021-09-16 12:16:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|