From e0f8bf441f949dcfdc130245b1bb8f230f0374a7 Mon Sep 17 00:00:00 2001 From: r-zakarya <82443831+r-zakarya@users.noreply.github.com> Date: Fri, 25 Sep 2026 15:39:38 +0100 Subject: [PATCH] fix(apk): l'icone se pose a cote du titre de l'en-tete, le nom n'est plus ecrit deux fois Co-Authored-By: Claude Opus 5 --- android-client/web/app.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/android-client/web/app.html b/android-client/web/app.html index bcfd80e..25705a0 100644 --- a/android-client/web/app.html +++ b/android-client/web/app.html @@ -233,6 +233,7 @@ /* --- detail ------------------------------------------------------------ */ .head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; } + .head .av { width: 30px; height: 30px; font-size: 13px; flex: 0 0 auto; } .head h1 { flex: 1; margin: 0; font-size: 19px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .field { @@ -588,6 +589,7 @@
+

@@ -1073,6 +1075,7 @@ function renderDetail(d) { document.getElementById('dtitle').textContent = d.title || ''; document.getElementById('kebab').hidden = false; document.getElementById('pencil').hidden = false; + document.getElementById('dav').hidden = true; var html = '', i; if (d.totp) html += '
2FA code
' @@ -1385,6 +1388,7 @@ function openNewEntry() { closeMenu(); document.getElementById('kebab').hidden = true; document.getElementById('pencil').hidden = true; + document.getElementById('dav').hidden = true; document.getElementById('fields').innerHTML = '
' + '
Kind
' @@ -1523,14 +1527,12 @@ function openEditEntry() { // L'ICONE ET LE NOM EN TETE : on voit ce qu'on modifie, et surtout ce que // les trois boutons d'en dessous vont remplacer. var d = lastDetail; + var av = document.getElementById('dav'); + av.hidden = false; + av.className = 'av' + (d.icon ? ' has-img' : ''); + av.innerHTML = d.icon ? '' : esc(d.initial || ''); var html = '
' - + '
' - + '
' - + (d.icon ? '' : esc(d.initial || '')) - + '
' - + '
' - + esc(d.title || '') + '
' - + '
' + + '
Icon
' + '' + '' + ''