fix: app page layout

This commit is contained in:
2026-03-01 11:53:49 +01:00
parent dc638ac4d3
commit 8d1b10aeb6
9 changed files with 11 additions and 13 deletions

View File

@@ -96,7 +96,7 @@ export function AnimationEditor() {
{/* ── Main layout ─────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '660px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left: Settings + Properties */}

View File

@@ -123,7 +123,7 @@ export function ASCIIConverter() {
{/* ── Main layout ────────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left panel: text input + font selector */}
<div

View File

@@ -34,7 +34,7 @@ export default function Calculator() {
{/* Main layout — side-by-side on lg, tabbed on mobile */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Expression panel */}
<div

View File

@@ -123,7 +123,7 @@ function ColorManipulationContent() {
{/* ── Main layout ────────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left panel: Picker + ColorInfo */}

View File

@@ -96,7 +96,7 @@ export function FaviconGenerator() {
{/* ── Main layout ─────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left: Setup */}

View File

@@ -8,11 +8,9 @@ interface AppPageProps {
export function AppPage({ children, className }: AppPageProps) {
return (
<div className={cn('min-h-screen', className)}>
<div className="max-w-7xl mx-auto px-6 lg:px-8 animate-fade-in">
<div className="py-8">
{children}
</div>
<div className={cn('overflow-y-auto', className)}>
<div className="max-w-7xl mx-auto px-6 lg:px-8 animate-fade-in py-6 lg:py-8">
{children}
</div>
</div>
);

View File

@@ -208,7 +208,7 @@ export function FileConverter() {
{/* ── Main layout ─────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left: upload zone */}

View File

@@ -121,7 +121,7 @@ export function QRCodeGenerator() {
{/* ── Main layout ─────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left: Input + Options */}

View File

@@ -115,7 +115,7 @@ export default function MainConverter() {
{/* ── Main layout ────────────────────────────────────────── */}
<div
className="grid grid-cols-1 lg:grid-cols-5 gap-4"
style={{ height: 'calc(100svh - 220px)', minHeight: '620px' }}
style={{ height: 'calc(100svh - 220px)' }}
>
{/* Left panel: search + categories */}