diff --git a/inventory/routes/entry.py b/inventory/routes/entry.py index 4e57cd1..5f57179 100644 --- a/inventory/routes/entry.py +++ b/inventory/routes/entry.py @@ -50,10 +50,11 @@ def init_entry_routes(app): "attrs": {"class": "form-control"}, "label_attrs": {"class": "form-label"}}, {"name": "image", "label": "", "row": "image", "type": "template", "label_spec": "{filename}", - "template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail"}}, + "template": "image_display.html", "attrs": {"class": "img-fluid img-thumbnail h-100"}, + "wrap": {"class": "h-100"}}, {"name": "notes", "type": "textarea", "label": "Notes", "row": "notes", "wrap": {"class": "col"}, - "attrs": {"class": "form-control", "rows": 10}}, + "attrs": {"class": "form-control", "rows": 10}, "label_attrs": {"class": "form-label"}}, ] layout = [ {"name": "label", "order": 5},