added new logout button and fixed pdf viewing

This commit is contained in:
2025-08-14 10:48:53 +02:00
parent 33c0f1c76c
commit 1c2a0416bb
2 changed files with 106 additions and 36 deletions
@@ -608,7 +608,7 @@ document.addEventListener('DOMContentLoaded', () => {
top: '10px',
left: '50%',
transform: 'translateX(-50%)',
zIndex: '10000',
zIndex: '98',
padding: '8px 16px',
backgroundColor: '#f44336',
color: 'white',
@@ -630,7 +630,7 @@ document.addEventListener('DOMContentLoaded', () => {
console.error('Logout request failed:', error);
window.notify('error', 'Ein Netzwerkfehler ist aufgetreten.');
} finally {
setTimeout(() => window.location.reload(), 1000);
setTimeout(() => window.location.reload(), 400);
}
};