mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
fix: layout structure to use main tag (#11119)
### What problem does this PR solve? For proper semantics Layout should use HTML `<main>` element to wrap the Header and Outlet which produce`<section>` HTML elements. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -3,9 +3,9 @@ import { Header } from './next-header';
|
|||||||
|
|
||||||
export default function NextLayout() {
|
export default function NextLayout() {
|
||||||
return (
|
return (
|
||||||
<section className="h-full flex flex-col">
|
<main className="h-full flex flex-col">
|
||||||
<Header></Header>
|
<Header />
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</section>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user