Improve padding and text wrapping
This commit is contained in:
parent
4854627e32
commit
7c7ec1e5f0
|
@ -41,10 +41,8 @@
|
||||||
|
|
||||||
.wc-block-components-radio-control__description-group {
|
.wc-block-components-radio-control__description-group {
|
||||||
@include font-size(smaller);
|
@include font-size(smaller);
|
||||||
// Use balance, then pretty so that browser support for pretty is preferred, but falls back to balance if not supported.
|
// Use balance as this is not a good candidate for pretty. Pretty is intended for body copy which this is not.
|
||||||
text-wrap: balance;
|
text-wrap: balance;
|
||||||
text-wrap: pretty;
|
|
||||||
|
|
||||||
// This targets the rate *description* and prevents the rules applying to the delivery_time.
|
// This targets the rate *description* and prevents the rules applying to the delivery_time.
|
||||||
.wc-block-components-radio-control__description {
|
.wc-block-components-radio-control__description {
|
||||||
padding-right: $gap-small;
|
padding-right: $gap-small;
|
||||||
|
@ -57,6 +55,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-large {
|
||||||
|
.wc-block-components-shipping-rates-control__package {
|
||||||
|
// This targets the rate *description* and prevents the rules applying to the delivery_time.
|
||||||
|
.wc-block-components-radio-control__description {
|
||||||
|
padding-right: $gap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.wc-block-components-shipping-rates-control__package-items {
|
.wc-block-components-shipping-rates-control__package-items {
|
||||||
@include font-size(small);
|
@include font-size(small);
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in New Issue