From ee66dd31b5d8148782bee3694bb99682f2b596af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 3 May 2024 20:52:59 -0500 Subject: [PATCH] feat: better hero responsiveness --- src/app/tools/tankopedia/[id]/components/Model/HeroSection.tsx | 2 +- src/app/tools/tankopedia/[id]/page.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Model/HeroSection.tsx b/src/app/tools/tankopedia/[id]/components/Model/HeroSection.tsx index 2c8318394..958b7fb7c 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/HeroSection.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/HeroSection.tsx @@ -18,7 +18,7 @@ export function HeroSection() { style={{ background: `linear-gradient(${wideFormat ? -90 : 180}deg, ${theme.colors.appBackground1}, ${theme.colors.appBackground2})`, position: 'relative', - height: wideFormat ? undefined : 'calc(100vh - 64px)', + height: wideFormat ? undefined : 'calc(87.5vh - 64px)', }} gap="4" > diff --git a/src/app/tools/tankopedia/[id]/page.tsx b/src/app/tools/tankopedia/[id]/page.tsx index 30db5a841..2b2bcded0 100644 --- a/src/app/tools/tankopedia/[id]/page.tsx +++ b/src/app/tools/tankopedia/[id]/page.tsx @@ -8,7 +8,6 @@ import { mutateTankopediaTemporary } from '../../../../stores/tankopedia'; import { CharacteristicsSection } from './components/Model/CharacteristicsSection'; import { HeroSection } from './components/Model/HeroSection'; import { HistoricalSection } from './components/Model/HistoricalSection'; -import { TankopediaPlug } from './components/Model/TankopediaPlug'; import { TankopediaSeparator } from './components/TankopediaSeparator'; import { Videos } from './components/Videos'; @@ -62,7 +61,7 @@ export default function Page({ params }: { params: { id: string } }) { {assigned && ( <> - + {/* */}