woocommerce/plugins/woocommerce-blocks/assets/js/base/components/validation/style.scss

22 lines
436 B
SCSS

.wc-block-form-input-validation-error {
@include font-size(smaller);
color: $error-red;
max-width: 100%;
position: absolute;
top: calc(100% - 1px);
white-space: normal;
> p {
align-items: center;
display: flex;
line-height: 12px; // This allows two lines in a 24px bottom margin.
margin: 0;
min-height: 24px;
padding: 0;
}
}
.wc-block-select + .wc-block-form-input-validation-error {
margin-bottom: $gap-large;
}