fix: colorpicker dialog z-index (#12435)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12435
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Otto 2026-05-08 13:39:46 +02:00
commit 31621e9b97
2 changed files with 36 additions and 0 deletions

View file

@ -49,6 +49,7 @@ function initPicker(el) {
content: picker,
placement: 'bottom-start',
interactive: true,
appendTo: input.closest('dialog') ?? document.body,
onShow() {
updatePicker(picker, input.value);
},