fix navigation bug

This commit is contained in:
Rolf Martin Glomsrud 2024-08-03 21:44:57 +02:00
parent 35ce9ed2be
commit 20c91cb8dc
3 changed files with 12 additions and 3 deletions

View file

@ -17,7 +17,7 @@ const { Content } = await post.render();
<BlogPost {...post.data}> <BlogPost {...post.data}>
<a href="/blog"> <a href="/blog">
<h5><---</h5> <h5>&lt--</h5>
</a> </a>
<Content /> <Content />
</BlogPost> </BlogPost>

View file

@ -22,7 +22,7 @@ const { Content } = await servers.render();
<ServerDescription {...servers.data}> <ServerDescription {...servers.data}>
<a href="/homelab"> <a href="/homelab">
<h5><---</h5> <h5>&lt--</h5>
</a> </a>
<Content /> <Content />
</BlogPost> </BlogPost>

View file

@ -41,7 +41,6 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 100%; height: 100%;
width: 80%;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
text-align: left; text-align: left;
@ -53,6 +52,16 @@ body {
font-size: 20px; font-size: 20px;
line-height: 1.7; line-height: 1.7;
} }
@media screen and (min-width:600px) {
body {
width: 80%;
}
}
@media screen and (max-width:600px){
body{
width: 95%;
}
}
main { main {
width: 720px; width: 720px;
max-width: calc(100% - 2em); max-width: calc(100% - 2em);