All files / app/address AddressForm.scss

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 4024x                                                                              
@import "../ui/Base";
 
.checkout-address {
    display: flex;
    flex-flow: row wrap;
    margin-left: -1 * spacing("half");
    margin-right: -1 * spacing("half");
 
    .dynamic-form-addressState,
    .dynamic-form-field {
        display: block;
        flex: 1;
        flex-basis: 100%;
        margin-bottom: spacing("half");
        max-width: 100%;
        padding: 0 spacing("half");
 
        &:last-child {
            margin-bottom: 0;
        }
    }
 
    .dynamic-form-field--province,
    .dynamic-form-field--provinceCode,
    .dynamic-form-field--firstName,
    .dynamic-form-field--lastName,
    .dynamic-form-field--phone,
    .dynamic-form-field--city {
        @include breakpoint("small") {
            flex-basis: 50%;
        }
    }
 
    .dynamic-form-field--postCode {
        @include breakpoint("small") {
            flex-basis: 30%;
        }
    }
}