style(): Fix style not being in head tag

This commit is contained in:
kami
2026-03-04 04:51:09 +08:00
parent bfaadbdbe4
commit 2a8eb622b2
2 changed files with 118 additions and 116 deletions
+26 -25
View File
@@ -9,6 +9,32 @@ const { title, description, pubDate, updatedDate, gitLink } = Astro.props;
<html lang="en">
<head>
<BaseHead title={title} description={description} />
<!-- To add meta data here later -->
<style>
body {
display:flex;
flex-direction: row;
}
main { display: flex;
flex-direction: row;
align-items: start;
justify-content: space-between;
padding: 0;
margin: 0;
flex-grow: 1;
}
.wrapper {
display: flex;
flex-direction: column;
flex-grow: 1;
min-width: 0;
width: 0;
padding: 1cm;
margin: 1cm;
}
</style>
</head>
<body>
@@ -24,28 +50,3 @@ const { title, description, pubDate, updatedDate, gitLink } = Astro.props;
</main>
</body>
</html>
<style>
body {
display:flex;
flex-direction: row;
}
main { display: flex;
flex-direction: row;
align-items: start;
justify-content: space-between;
padding: 0;
margin: 0;
flex-grow: 1;
}
.wrapper {
display: flex;
flex-direction: column;
flex-grow: 1;
min-width: 0;
width: 0;
padding: 1cm;
margin: 1cm;
}
</style>