Merge branch 'dev'

This commit is contained in:
MarekWo
2025-12-30 12:34:55 +01:00
7 changed files with 16 additions and 10 deletions

View File

@@ -587,7 +587,10 @@ function showNotification(message, type = 'info') {
toastBody.textContent = message;
toastEl.className = `toast bg-${type} text-white`;
const toast = new bootstrap.Toast(toastEl);
const toast = new bootstrap.Toast(toastEl, {
autohide: true,
delay: 1500
});
toast.show();
}

View File

@@ -581,7 +581,7 @@ function showToast(message, type = 'info') {
// Show toast
const toast = new bootstrap.Toast(toastEl, {
autohide: true,
delay: 3000
delay: 1500
});
toast.show();
}

View File

@@ -717,6 +717,9 @@ function showNotification(message, type = 'info') {
}
}
const toast = new bootstrap.Toast(toastEl, { delay: 3000 });
const toast = new bootstrap.Toast(toastEl, {
autohide: true,
delay: 1500
});
toast.show();
}

View File

@@ -254,7 +254,7 @@
</div>
<!-- Toast container for notifications -->
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div class="toast-container position-fixed top-0 start-0 p-3">
<div id="notificationToast" class="toast" role="alert">
<div class="toast-header">
<strong class="me-auto">mc-webui</strong>

View File

@@ -182,7 +182,7 @@
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
max-height: calc(100vh - 400px);
height: calc(100vh - 260px);
min-height: 300px;
}
@@ -216,7 +216,7 @@
/* NEW: Full-screen lists for dedicated pages */
.contacts-list-fullscreen {
height: calc(100vh - 200px);
height: calc(100vh - 240px);
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 0;
@@ -328,11 +328,11 @@
/* Mobile responsiveness */
@media (max-width: 768px) {
#existingList {
max-height: calc(100vh - 450px);
height: calc(100vh - 300px);
}
.contacts-list-fullscreen {
height: calc(100vh - 150px);
height: calc(100vh - 300px);
}
.filter-sort-toolbar {
@@ -411,7 +411,7 @@
</div>
<!-- Toast container for notifications (shared across all contact pages) -->
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div class="toast-container position-fixed top-0 start-0 p-3">
<div id="contactToast" class="toast" role="alert">
<div class="toast-header">
<strong class="me-auto">Contact Management</strong>

View File

@@ -150,7 +150,7 @@
</main>
<!-- Toast container for notifications -->
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div class="toast-container position-fixed top-0 start-0 p-3">
<div id="notificationToast" class="toast" role="alert">
<div class="toast-header">
<strong class="me-auto">mc-webui</strong>

Binary file not shown.