fix navigation bug
This commit is contained in:
parent
35ce9ed2be
commit
20c91cb8dc
3 changed files with 12 additions and 3 deletions
|
@ -17,7 +17,7 @@ const { Content } = await post.render();
|
|||
|
||||
<BlogPost {...post.data}>
|
||||
<a href="/blog">
|
||||
<h5><---</h5>
|
||||
<h5><--</h5>
|
||||
</a>
|
||||
<Content />
|
||||
</BlogPost>
|
||||
|
|
|
@ -22,7 +22,7 @@ const { Content } = await servers.render();
|
|||
|
||||
<ServerDescription {...servers.data}>
|
||||
<a href="/homelab">
|
||||
<h5><---</h5>
|
||||
<h5><--</h5>
|
||||
</a>
|
||||
<Content />
|
||||
</BlogPost>
|
|
@ -41,7 +41,6 @@ body {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: left;
|
||||
|
@ -53,6 +52,16 @@ body {
|
|||
font-size: 20px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
@media screen and (min-width:600px) {
|
||||
body {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:600px){
|
||||
body{
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
main {
|
||||
width: 720px;
|
||||
max-width: calc(100% - 2em);
|
||||
|
|
Loading…
Reference in a new issue