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

22 lines
431 B
SCSS

.wc-block-form-input-validation-error {
color: $error-red;
@include font-size(12);
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;
}