Fix: Nav-Avatar mit Zoom/Offset, renderDogSwitcher nach Foto-Änderung, Button-Padding

This commit is contained in:
rene 2026-04-17 23:09:42 +02:00
parent 4f12c8e6a4
commit 5927d384bf
3 changed files with 8 additions and 4 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '122'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '123'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const App = (() => {
@ -477,7 +477,8 @@ const App = (() => {
}
const avHtml = d => d.foto_url
? `<img src="${UI.escape(d.foto_url)}" alt="${UI.escape(d.name)}">`
? `<img src="${UI.escape(d.foto_url)}" alt="${UI.escape(d.name)}"
style="transform:scale(${d.foto_zoom||1}) translate(${d.foto_offset_x||0}%,${d.foto_offset_y||0}%)">`
: `<span>🐕</span>`;
// Inaktive Hunde rechts