From 109dcd9997035e300c688846a595c97b8df1f570 Mon Sep 17 00:00:00 2001 From: Dicken Date: Thu, 18 Jun 2026 20:08:06 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Herzen=20wei=C3=9F/rot=20mit=20explizite?= =?UTF-8?q?r=20Farbe,=20Admin-Hinweis=20in=20Favoritenliste,=20Tooltip=20w?= =?UTF-8?q?ei=C3=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/tools/media.jsx | 21 +++++++++++++++++---- frontend/src/tools/statistik.jsx | 9 ++++++--- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/frontend/src/tools/media.jsx b/frontend/src/tools/media.jsx index bba312a..3185e46 100644 --- a/frontend/src/tools/media.jsx +++ b/frontend/src/tools/media.jsx @@ -226,8 +226,9 @@ function MovieCard({ movie, favIds, hasXrel, onToggleFav, onOpenModal }) { + fontSize:16, display:'flex', alignItems:'center', justifyContent:'center', + color: isFav ? '#f87171' : '#ffffff', + }}>{isFav ? '♥' : '♥'}
onOpenModal({ id: movie.id, media_type: movie.media_type || 'movie' })}> @@ -762,6 +763,18 @@ function FavoritenKalender({ onOpenModal }) {
)} + {isAdmin && allFavs.filter(f=>!f.acknowledged).length > 0 && ( +
+ ⚠ {allFavs.filter(f=>!f.acknowledged).length} unquittierte Favoriten + +
+ )} {filmeFavs.length > 0 && ( {Object.entries(filmGroups).sort(([a],[b]) => a.localeCompare(b)).map(([key, group]) => ( @@ -969,9 +982,9 @@ function MovieModal({ tmdbId, mediaType='movie', onClose, mobile, onHasXrel, noY position:'absolute', top:12, right:54, background:'rgba(0,0,0,0.75)', border:'none', borderRadius:'50%', width:34, height:34, cursor:'pointer', zIndex:10, - color: isFav ? '#f87171' : 'rgba(255,255,255,0.6)', + color: isFav ? '#f87171' : '#ffffff', fontSize:18, display:'flex', alignItems:'center', justifyContent:'center', - }}>{isFav ? '❤' : '🤍'} + }}>♥ )} {/* Scrollbarer Inhalt */} diff --git a/frontend/src/tools/statistik.jsx b/frontend/src/tools/statistik.jsx index cb6cf83..a59ef5b 100644 --- a/frontend/src/tools/statistik.jsx +++ b/frontend/src/tools/statistik.jsx @@ -337,7 +337,8 @@ export default function Statistik({ mobile }) { `${v}€`} width={45}/> - [`${v.toFixed(2)} €`, n==='revenue'?'Einnahmen':'Ausgaben']} labelFormatter={fmtMonth}/> @@ -356,7 +357,8 @@ export default function Statistik({ mobile }) { `${v}€`} width={42}/> - [`${v.toFixed(2)} €`, 'Gewinn kumuliert']} labelFormatter={fmtMonth}/> @@ -375,7 +377,8 @@ export default function Statistik({ mobile }) { ))} - [`${v.toFixed(2)} €`]}/> {v}}/>