From 785a5cd5b774b226db20130748f45d3add838478 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Fri, 28 Aug 2026 19:23:41 +0700 Subject: [PATCH] feat: enhance layout and styling across components for improved responsiveness and user experience --- src/app/globals.css | 11 ++++-- src/app/layout.tsx | 8 ++-- src/components/actionBar/index.tsx | 22 ++++++++--- src/components/avatarInfo/index.tsx | 2 +- src/components/card/lightconeCard.tsx | 8 ++-- src/components/card/relicCard.tsx | 2 +- src/components/header/index.tsx | 4 +- src/components/lightconeBar/index.tsx | 6 +-- src/components/relicsInfo/index.tsx | 54 +++++++++++++++------------ src/components/showcaseCard/index.tsx | 6 +-- src/components/skillsInfo/index.tsx | 18 ++++----- 11 files changed, 81 insertions(+), 60 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 0097948..6f63a29 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -11,10 +11,13 @@ nocompatible: true; } -:root { - --size-big: 4vw; - --size-medium: 3vw; - --size-small: 2vw; +html, body { + height: 100%; + height: 100dvh; + width: 100%; + overflow: hidden; + overscroll-behavior: none; + -webkit-overflow-scrolling: touch; } /* Smooth Modern Ultra-Sleek Scrollbars */ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4444733..78db6f4 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -64,9 +64,9 @@ export default async function RootLayout({ const locale = await getLocale() return ( - + @@ -74,7 +74,7 @@ export default async function RootLayout({ -
+