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:
+4
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user