use static pos for payment errors so they push out other content: (https://github.com/woocommerce/woocommerce-blocks/pull/2977)
- default styling for validation errors is absolute - this requires the layout provides appropriate space for errors - payment form is too compact to provide room for errors, - especially when checkout is narrow due to window or theme
This commit is contained in:
parent
b680686c34
commit
e18c036f5e
|
@ -91,6 +91,10 @@ $border-radius: 5px;
|
|||
.wc-block-card-elements {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
.wc-block-components-validation-error {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
.wc-block-gateway-container {
|
||||
|
|
Loading…
Reference in New Issue