fix: app page layout
This commit is contained in:
@@ -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 */}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
@@ -8,12 +8,10 @@ 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">
|
||||
<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>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user