mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
chore: tweak SSR output
This commit is contained in:
@@ -40,8 +40,8 @@ app.use(async (ctx) => {
|
||||
>
|
||||
${css}
|
||||
<title>${ref.current?.getCurrentOptions()?.title}</title>
|
||||
<body style="height: 100%">
|
||||
<div id="root" style="display: flex; height: 100%">
|
||||
<body style="min-height: 100%">
|
||||
<div id="root" style="display: flex; min-height: 100vh">
|
||||
${html}
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user