fix: app page layout

This commit is contained in:
2026-03-01 12:14:55 +01:00
parent dc638ac4d3
commit 2abbdf407f
9 changed files with 11 additions and 13 deletions

View File

@@ -96,7 +96,7 @@ export function AnimationEditor() {
{/* ── Main layout ─────────────────────────────────────── */} {/* ── Main layout ─────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left: Settings + Properties */}

View File

@@ -123,7 +123,7 @@ export function ASCIIConverter() {
{/* ── Main layout ────────────────────────────────────────── */} {/* ── Main layout ────────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left panel: text input + font selector */}
<div <div

View File

@@ -34,7 +34,7 @@ export default function Calculator() {
{/* Main layout — side-by-side on lg, tabbed on mobile */} {/* Main layout — side-by-side on lg, tabbed on mobile */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Expression panel */}
<div <div

View File

@@ -123,7 +123,7 @@ function ColorManipulationContent() {
{/* ── Main layout ────────────────────────────────────────── */} {/* ── Main layout ────────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left panel: Picker + ColorInfo */}

View File

@@ -96,7 +96,7 @@ export function FaviconGenerator() {
{/* ── Main layout ─────────────────────────────────────── */} {/* ── Main layout ─────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left: Setup */}

View File

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

View File

@@ -208,7 +208,7 @@ export function FileConverter() {
{/* ── Main layout ─────────────────────────────────────── */} {/* ── Main layout ─────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left: upload zone */}

View File

@@ -121,7 +121,7 @@ export function QRCodeGenerator() {
{/* ── Main layout ─────────────────────────────────────── */} {/* ── Main layout ─────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left: Input + Options */}

View File

@@ -115,7 +115,7 @@ export default function MainConverter() {
{/* ── Main layout ────────────────────────────────────────── */} {/* ── Main layout ────────────────────────────────────────── */}
<div <div
className="grid grid-cols-1 lg:grid-cols-5 gap-4" 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 */} {/* Left panel: search + categories */}