Improve padding and text wrapping
This commit is contained in:
parent
56b3e56e6f
commit
78504d5d0f
|
@ -41,10 +41,8 @@
|
|||
|
||||
.wc-block-components-radio-control__description-group {
|
||||
@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: pretty;
|
||||
|
||||
// This targets the rate *description* and prevents the rules applying to the delivery_time.
|
||||
.wc-block-components-radio-control__description {
|
||||
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 {
|
||||
@include font-size(small);
|
||||
display: block;
|
||||
|
|
Loading…
Reference in New Issue