From 456d22d9855095ec760158702bc4b33eef2e98d2 Mon Sep 17 00:00:00 2001 From: nessi Date: Sat, 7 Feb 2026 12:57:57 +0100 Subject: [PATCH] Update PlayerIdentityCard defaults and styles Changed the default `houseLabel` to "Gryffindor" and the `overflow` style to "visible" for a better visual effect. Removed an unnecessary styled block to clean up the component structure. --- frontend/src/App.jsx | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 850751d..1d2f778 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -545,7 +545,7 @@ export default function App() { const PlayerIdentityCard = ({ name = "Harry Potter", - houseLabel = "Signature of Holder", + houseLabel = "Gryffindor", borderColor = "#7c4dff", img = "/player_cards/harry.png", }) => { @@ -587,7 +587,7 @@ export default function App() { borderRadius: 16, border: `2px solid ${borderColor}`, boxShadow: `0 18px 55px rgba(0,0,0,0.55), 0 0 26px rgba(124,77,255,0.22)`, - overflow: "hidden", + overflow: "visible", position: "relative", background: "rgba(0,0,0,0.15)", transform: "translateY(-10px) rotate(-0.6deg)", // ✅ schaut leicht raus @@ -714,22 +714,6 @@ export default function App() { Identity - - {/* optional: kleiner Slot-Titel (kannst du löschen) */} -
- Spielerkarte -
);