0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-30 06:27:51 +01:00
gitea/web_src/js/modules/fomantic
silverwind 640850e15f
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.
2024-03-31 02:00:58 +02:00
..
api.js Move some JS code from fomantic.js to standalone files (#27994) 2023-11-12 07:15:00 +00:00
aria.md Remove fomantic checkbox module (#30162) 2024-03-29 04:56:01 +00:00
base.js Move some JS code from fomantic.js to standalone files (#27994) 2023-11-12 07:15:00 +00:00
checkbox.js Fix unclickable checkboxes (#30195) 2024-03-31 02:00:58 +02:00
dropdown.js Remove jQuery class from the comment context menu (#30179) 2024-03-30 10:40:39 +01:00
modal.js Remove jQuery .attr from the Fomantic modal cancel buttons (#30113) 2024-03-26 19:57:57 +00:00
transition.js Move some JS code from fomantic.js to standalone files (#27994) 2023-11-12 07:15:00 +00:00