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
@@ -2586,7 +2586,7 @@
|
||||
if (!dialog.open) {
|
||||
dialog.showModal();
|
||||
}
|
||||
dialog.scrollTop = 0;
|
||||
dialog.querySelector('[data-modal-panel]').scrollTop = 0;
|
||||
}
|
||||
|
||||
function requestClose() {
|
||||
|
||||
Reference in new issue
Block a user