we changed the layout to a 5 column grid (one spacer in the middle),
but forgot to add the middle column when we set the label_width or
field_width manually.
add the same middle column as in the css here
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
);
if self.two_column {
- column_template = format!("{} {}", column_template, column_template);
+ column_template = format!(
+ "{} calc(var(--pwt-spacer-4) * 2) {}",
+ column_template, column_template
+ );
}
self.set_style("grid-template-columns", column_template.to_string());