fix(init): set minimum gradient height to screen height (#3145)

---------

Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com>
This commit is contained in:
Zhi
2025-07-26 17:48:16 +02:00
committed by GitHub
co-authored by 李嘉图·M·路
parent e4d9160a92
commit 29d1e0a484
+4 -1
View File
@@ -310,6 +310,9 @@ html {
.tabular-nums {
font-variant-numeric: tabular-nums;
}
.min-h-screen {
min-height: 100vh;
}
${GRADIENT_CSS}`;
// deno-fmt-ignore
@@ -411,7 +414,7 @@ export default define.page(function Home() {
const count = useSignal(3);
return (
<div class="px-4 py-8 mx-auto fresh-gradient">
<div class="px-4 py-8 mx-auto fresh-gradient min-h-screen">
<div class="max-w-screen-md mx-auto flex flex-col items-center justify-center">
<img
class="my-6"