From 33f25a9af41645732e29534a2f575d0ae25edad8 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Thu, 27 Aug 2026 09:12:03 +0700 Subject: [PATCH] refactor: update modal structure and styles for consistency across components --- src/components/actionBar/index.tsx | 6 +++--- src/components/avatarInfo/index.tsx | 22 +++++++++++++--------- src/components/card/characterCard.tsx | 2 +- src/components/card/characterInfoCard.tsx | 2 +- src/components/card/lightconeCard.tsx | 2 +- src/components/header/index.tsx | 10 ++++++++-- src/components/relicsInfo/index.tsx | 6 +++--- 7 files changed, 30 insertions(+), 20 deletions(-) diff --git a/src/components/actionBar/index.tsx b/src/components/actionBar/index.tsx index ec4bd51..ad3707b 100644 --- a/src/components/actionBar/index.tsx +++ b/src/components/actionBar/index.tsx @@ -484,8 +484,8 @@ export default function ActionBar() { {/* Modals */} {modalConfigs.map(({ id, title, onClose, content }) => ( -
-
+
+

{title}

@@ -496,7 +496,7 @@ export default function ActionBar() { ✕
-
+
{content}
diff --git a/src/components/avatarInfo/index.tsx b/src/components/avatarInfo/index.tsx index a5097fe..95ce345 100644 --- a/src/components/avatarInfo/index.tsx +++ b/src/components/avatarInfo/index.tsx @@ -247,12 +247,16 @@ export default function AvatarInfo() {