code frameの高さが100%にならない問題の修正

This commit is contained in:
moris 2025-04-03 23:38:45 +09:00
parent 7a17a2c188
commit 8850d15daa
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,6 @@
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">
<div>%sveltekit.body%</div> <div class="sv-body">%sveltekit.body%</div>
</body> </body>
</html> </html>

View file

@ -26,4 +26,8 @@ body:fullscreen {
padding: 10%; padding: 10%;
background-image: url(https://moris.day/files/img/BigSur.avif); background-image: url(https://moris.day/files/img/BigSur.avif);
background-size: cover; background-size: cover;
}
.sv-body {
display: contents;
} }