update to completely remove tailwindcss

This commit is contained in:
Mitchell Marino 2024-05-05 18:51:20 -05:00
parent 8113239504
commit 68d6b857ed
2 changed files with 7 additions and 2 deletions

View File

@ -59,9 +59,14 @@
border-color: #90cdf4; border-color: #90cdf4;
} }
.form_input_invalid { .form_input_invalid {
border: 2px solid #EF4444; border: 2px solid #ef4444;
background-color: #ffd4d4; background-color: #ffd4d4;
} }
.form_error {
display: inline;
padding-left: 0.25rem;
color: #ef4444;
}
.form_submit { .form_submit {
display: block; display: block;

View File

@ -48,7 +48,7 @@ impl FormStyle for GridFormStyle {
<label for={&control.data.name} class="form_label"> <label for={&control.data.name} class="form_label">
{control.data.label.as_ref()} {control.data.label.as_ref()}
</label> </label>
<span class="inline pl-2 text-red-600"> <span class="form_error">
{move || format!("{}", validation_state.get().err().unwrap_or_default())} {move || format!("{}", validation_state.get().err().unwrap_or_default())}
</span> </span>
</div> </div>