Skip to content

Commit

Permalink
feat: Make header more respsonsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed Nov 3, 2023
1 parent ae5d228 commit 0656ffe
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,26 @@
margin-right: 3rem;
}
.header {
display: flex;
display: flex-column;
align-items: center;
margin-bottom: 1.5rem;
}
.programname {
min-width: 45vw;
h1 {
margin-bottom: 0;
}
.version {
min-width: 20vw;
text-align: right;
margin-left: auto;
@media only screen and (min-width: 768px) {
.header {
display: flex;
align-items: center;
margin-bottom: 1.5rem;
}
.programname {
min-width: 45vw;
}
.version {
min-width: 20vw;
text-align: right;
margin-left: auto;
}
}
</style>

0 comments on commit 0656ffe

Please sign in to comment.