Centered settings modal

This commit is contained in:
jared committed 2026-01-08 23:19:44 -05:00
1 parent 83a1ba393a
commit 61e3bd69ff
2 files changed
+19 -5

No files matched your search

+3 -1
View File
@@ -110,7 +110,8 @@ async function saveSettings() {
function openSettingsModal() {
const modal = document.getElementById('settingsModal');
if (modal) {
modal.style.display = 'block';
modal.style.display = 'flex';
document.body.classList.add('modal-open');
loadUserPreferences();
}
}
@@ -119,6 +120,7 @@ function closeSettingsModal() {
const modal = document.getElementById('settingsModal');
if (modal) {
modal.style.display = 'none';
document.body.classList.remove('modal-open');
}
}