diff options
author | silverwind <me@silverwind.io> | 2024-03-31 01:00:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-31 02:00:58 +0200 |
commit | 640850e15f56bbe01f5d8ea407f99c79dc38457e (patch) | |
tree | c7ad6357b6422db54163626d92bfbd8493059c4a /go.mod | |
parent | 72a5d3faa8b65042a4fc7525d511d8942a47dafe (diff) | |
download | gitea-640850e15f56bbe01f5d8ea407f99c79dc38457e.tar.gz gitea-640850e15f56bbe01f5d8ea407f99c79dc38457e.zip |
Fix unclickable checkboxes (#30195)
Fix https://github.com/go-gitea/gitea/issues/30185, regression from
https://github.com/go-gitea/gitea/pull/30162.
The checkboxes were unclickable because the label was positioned over
the checkbox with `padding`. Now it uses `margin` so the checkbox itself
will be clickable in all cases.
Secondly, I changed the for/id linking to also add missing `for`
attributes when `id` is present. The other way around (only `for`
present) is currently not handled and I think there are likey no
occurences in the code and introducing new non-generated `id`s might
cause problems elsewhere if we do, so I skipped on that.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions