From 71b3e874c16c98c9585bd4dbf36007b63f27fbeb Mon Sep 17 00:00:00 2001 From: Pierre Marx Date: Thu, 4 Sep 2025 17:07:59 -0400 Subject: [PATCH] fix: Repositionnement des notifications pour ne plus cacher les boutons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Décalage des notifications de top:20px à top:70px - Les notifications apparaissent maintenant sous la barre d'outils - Les boutons restent accessibles pendant l'affichage des notifications - Mise à jour du changelog --- docs/changelog.md | 5 +++++ renderer.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index ce86c5d..fee4669 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,11 @@ ## [1.2.15] - 2025-09-04 +### Corrigé +- **Position des notifications** : Les bandeaux de notification ne cachent plus les boutons + - Décalage vertical de 20px à 70px pour apparaître sous la barre d'outils + - Les boutons restent accessibles pendant l'affichage des notifications + ### Modifié - **Bouton de déconnexion remplacé par "Quitter"** : Changement du comportement de fermeture - Le bouton "Déconnecter" devient "Quitter" pour plus de clarté diff --git a/renderer.js b/renderer.js index 817955f..3f729fe 100644 --- a/renderer.js +++ b/renderer.js @@ -645,7 +645,7 @@ function showNotification(message, type = 'info') { // Styles de base pour la notification notification.style.cssText = ` position: fixed; - top: 20px; + top: 70px; right: 20px; padding: 15px 20px; background: ${type === 'success' ? '#4caf50' : type === 'error' ? '#f44336' : '#2196f3'};