Uninett / argus-htmx-frontend

HTTP Frontend for argus-server as a django app using HTMx
4 stars 4 forks source link

Fix widget styles #155

Open hmpf opened 2 days ago

hmpf commented 2 days ago

Also the way that the label looks is a bit strange, specifically the way the text wraps ("Change ticket", "Reason for closing" and "Reason for reopening"): /../ Acknowledgement looks good

Fix belongs in different issue. Either solved by having separate templates for long and short labels (with different styling), or changing the style for all modals so that the length of the label does not matter (my preference).

I would also suggest creating a reusable _text_input.html and fix the styling there. This way we will also have uniform design for all our text input fields, both in modals and everywhere else

Originally posted by @podliashanyk in https://github.com/Uninett/argus-htmx-frontend/issues/74#issuecomment-2360298021

hmpf commented 2 days ago

We should run argus on Django 5.1 first, as systematic styling backed by django itself will be much easier then.