Place the dialog close button on the outer corner
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:
1 parent
b643072c3c
commit
fcf52923a7
3 files changed
+20
-8
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user