1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 17:44:27 +00:00
gitea/web_src
Giteabot 9d38c4d60e
Fix unclickable checkboxes (#30195) (#30199)
Backport #30195 by @silverwind

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.

Co-authored-by: silverwind <me@silverwind.io>
2024-03-31 00:05:52 +00:00
..
css Fix unclickable checkboxes (#30195) (#30199) 2024-03-31 00:05:52 +00:00
fomantic Remove fomantic checkbox module (#30162) (#30168) 2024-03-29 17:44:22 +00:00
js Fix unclickable checkboxes (#30195) (#30199) 2024-03-31 00:05:52 +00:00
svg Update various logos and unify their filenames (#29637) 2024-03-06 22:20:05 +00:00