Fix UI visibility, form CSS, and quick-connect modal
- Fix drawer/modal backdrop class names and is-visible transitions - Add protocol tab, settings tab, and command palette CSS - Add form-section-content as CSS alias for form-section-body - Add missing form CSS: form-hint, form-toggle, jump-host-row, preset-row - Add btn-outline, form-input-sm, form-select-sm styles - Replace window.prompt() with custom modal for WKWebView compatibility - Remove diagnostic banner and instrumentation
This commit is contained in:
@@ -107,7 +107,7 @@ class ProfileEditor {
|
||||
render(profile, isNew) {
|
||||
this.close();
|
||||
|
||||
const overlay = createElement('div', 'drawer-overlay');
|
||||
const overlay = createElement('div', 'drawer-backdrop');
|
||||
const drawer = createElement('div', 'drawer');
|
||||
|
||||
// ── Header ──────────────────────────────────────────────
|
||||
@@ -183,6 +183,12 @@ class ProfileEditor {
|
||||
document.body.appendChild(overlay);
|
||||
this.drawer = overlay;
|
||||
|
||||
// Trigger visibility after append so CSS transitions animate
|
||||
requestAnimationFrame(() => {
|
||||
overlay.classList.add('is-visible');
|
||||
drawer.classList.add('is-visible');
|
||||
});
|
||||
|
||||
// Prevent overlay click from reaching through the drawer
|
||||
drawer.addEventListener('click', (e) => e.stopPropagation());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user