Increase shipping/payment borders to prevent half pixel issues on high-resolution screens (#46525)
* Replace pixel box shadow with em to prevent half pixels * Add changelog * Apply 2px border * Make padding around shipping options bigger
This commit is contained in:
parent
92dcb889b4
commit
fb481bdce5
|
@ -1,7 +1,7 @@
|
|||
.wc-block-checkout__shipping-option {
|
||||
.wc-block-components-radio-control__option {
|
||||
margin: 0;
|
||||
padding: em($gap-small) em($gap-small) em($gap-small) em($gap-huge);
|
||||
padding: 0.875em 0.875em 0.875em em($gap-huge);
|
||||
}
|
||||
|
||||
.wc-block-components-shipping-rates-control__no-results-notice {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
// and right of the selected element, and top and bottom of the first/last elements.
|
||||
label.wc-block-components-radio-control__option--checked-option-highlighted,
|
||||
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
|
||||
box-shadow: 0 0 0 1.5px currentColor inset;
|
||||
box-shadow: 0 0 0 2px currentColor inset;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
Comment: Fixes an issue on high-res screens. The bug was not present in any released version
|
||||
|
||||
|
Loading…
Reference in New Issue