1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 10:04:27 +00:00
gitea/web_src/js/modules
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
..
fomantic Fix unclickable checkboxes (#30195) (#30199) 2024-03-31 00:05:52 +00:00
dirauto.js Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) 2024-02-08 02:42:18 +00:00
fetch.js Refactor request function (#29187) 2024-02-16 13:27:00 +00:00
fetch.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
fomantic.js Remove fomantic checkbox module (#30162) (#30168) 2024-03-29 17:44:22 +00:00
sortable.js Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-28 00:20:38 +01:00
stores.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
tippy.js Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
toast.js Make PR form use toast to show error message (#29545) 2024-03-02 15:05:07 +00:00
toast.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00