Place the dialog close button on the outer corner
CI / Deploy / test (push) Successful in 1m3s
CI / Deploy / deploy (push) Skipped

The close button no longer covers form fields: the dialog does not
scroll itself, an inner panel does, and the button sits on the corner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-11 20:35:51 +01:00
1 parent b643072c3c
commit fcf52923a7
3 files changed
+20 -8

No files matched your search

+4 -2
View File
@@ -313,7 +313,9 @@ $hasInternal = array_filter($slides, fn($slide) => !$slide->is_hidden && $slide-
<?php // Slide form in a dialog (loaded via fetch, see [data-modal] in plenario.js); without JS the links open the full page. ?>
<dialog class="modal" data-modal-dialog aria-labelledby="modal-title">
<button type="button" class="modal__close button button--ghost button--icon" data-modal-close
<button type="button" class="modal__close" data-modal-close
aria-label="<?= h(__('Schließen')) ?>" title="<?= h(__('Schließen (Esc)')) ?>">✕</button>
<div data-modal-body></div>
<div class="modal__panel" data-modal-panel>
<div data-modal-body></div>
</div>
</dialog>