fix(ui): home and editors pages fit viewport without scroll
Replaced min-h-screen with h-full on both routes — App.tsx flex layout already provides min-h-screen + flex-1, so the inner min-h-screen was doubling the minimum height and pushing the footer off-screen. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
dee98e3eac
commit
08fbf093a8
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ export default function EditorsRoute() {
|
|||||||
const t = useT()
|
const t = useT()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="min-h-screen flex flex-col">
|
<main className="flex flex-col h-full">
|
||||||
<header className="px-6 py-4 border-b border-[var(--color-border)] flex items-center justify-between">
|
<header className="px-6 py-4 border-b border-[var(--color-border)] flex items-center justify-between">
|
||||||
<div className="flex items-baseline gap-3">
|
<div className="flex items-baseline gap-3">
|
||||||
<Link to="/" className="no-underline">
|
<Link to="/" className="no-underline">
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export default function HomeRoute() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="min-h-screen flex flex-col">
|
<main className="flex flex-col h-full">
|
||||||
<header className="px-6 py-4 border-b border-[var(--color-border)] flex items-center justify-between">
|
<header className="px-6 py-4 border-b border-[var(--color-border)] flex items-center justify-between">
|
||||||
<div className="flex items-baseline gap-3">
|
<div className="flex items-baseline gap-3">
|
||||||
<Brand size="lg" />
|
<Brand size="lg" />
|
||||||
|
|||||||
Reference in new issue
Block a user