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:
Rua Haszard 2020-08-07 07:30:27 +12:00 committed by GitHub
parent b680686c34
commit e18c036f5e
1 changed files with 4 additions and 0 deletions

View File

@ -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 {