Revert "field2: avoid pwt-w-100 (move to css, without !important)"
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Sep 2023 08:56:35 +0000 (10:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Sep 2023 08:56:35 +0000 (10:56 +0200)
This reverts commit b7dc08a5d2b3c07675f173eb1784460eac762f47.

Because it just add more layout problems ...

src/widget/form/field2.rs

index 2349742f52db09d0d709349ec0022553a3457d21..90105f37da2d591dceede740c8b10a3239b9eef6 100644 (file)
@@ -361,6 +361,7 @@ impl ManagedField for StandardField {
             .class("pwt-input")
             .class(format!("pwt-input-type-{}", props.input_type))
             .class(disabled.then_some("disabled"))
+            .class("pwt-w-100")
             .class(if valid.is_ok() {
                 "is-valid"
             } else {