forgejo/web_src/js/modules
silverwind fbca0dd9a6
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.

(cherry picked from commit 640850e15f56bbe01f5d8ea407f99c79dc38457e)
2024-04-07 15:40:31 +02:00
..
fomantic Fix unclickable checkboxes (#30195) 2024-04-07 15:40:31 +02:00
dirauto.js
fetch.js
fetch.test.js
fomantic.js Remove fomantic checkbox module (#30162) 2024-04-07 11:05:37 +02:00
sortable.js Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-30 07:17:31 +01:00
stores.js
tippy.js Enforce trailing comma in JS on multiline (#30002) 2024-03-26 19:04:27 +01:00
toast.js
toast.test.js