Ask in the page's own dialog, not confirm(), which the iOS app answered Cancel (#462)
Deleting a downloaded file from the iOS app did nothing: no DELETE reached ipx-web or ipx.
WKWebView answers confirm() Cancel without showing it unless the app implements the panel,
which 614f270 does (#453), but only once the app is rebuilt. ask() is a <dialog> of the
page's own, in the top layer, so it opens over a dialog already up (the file menu, Settings)
and leaves it as it was, and Escape answers it alone. Every confirm() in the page and the
admin page goes through it; the tests answer it rather than the browser's dialog, and the
warning before sharing a feed with its key in the address, untested before, now is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1152,6 +1152,10 @@ input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radiu
|
||||
overscroll-behavior:contain;
|
||||
}
|
||||
.card.wide{width:min(1000px,100%)}
|
||||
/* The page's own question before something hard to take back (#462): over any dialog already up. */
|
||||
dialog.ask{color:inherit;margin:auto;width:min(420px,calc(100% - 32px))}
|
||||
dialog.ask::backdrop{background:rgba(0,0,0,.6)}
|
||||
dialog.ask p{margin:0;line-height:1.45}
|
||||
#logbox{
|
||||
background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:10px 12px;
|
||||
height:min(60vh,520px);overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;
|
||||
@@ -1519,6 +1523,8 @@ body:has(#player.on) #status{padding-bottom:3px}
|
||||
width:100%;max-height:calc(100dvh - var(--safe-t) - 12px);border-color:var(--edge);border-radius:20px 20px 0 0;
|
||||
padding:20px 16px calc(20px + var(--safe-b));animation:sheet .3s cubic-bezier(.2,.8,.2,1);
|
||||
}
|
||||
/* A sheet, as every dialog is here. */
|
||||
dialog.ask{margin:auto 0 0;width:100%;max-width:100%}
|
||||
.card h3{font-size:22px}
|
||||
.field label,.field .hint{font-size:13px}
|
||||
.check{font-size:17px}
|
||||
|
||||
Reference in New Issue
Block a user