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:
@@ -86,7 +86,7 @@ class Settings {
|
||||
_render() {
|
||||
this.close();
|
||||
|
||||
const overlay = createElement('div', 'modal-overlay');
|
||||
const overlay = createElement('div', 'modal-backdrop');
|
||||
const modal = createElement('div', 'modal modal-settings');
|
||||
|
||||
// Header
|
||||
@@ -136,6 +136,12 @@ class Settings {
|
||||
modal.addEventListener('click', (e) => e.stopPropagation());
|
||||
document.body.appendChild(overlay);
|
||||
this._overlay = overlay;
|
||||
|
||||
// Trigger visibility after append so CSS transitions animate
|
||||
requestAnimationFrame(() => {
|
||||
overlay.classList.add('is-visible');
|
||||
modal.classList.add('is-visible');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user