Skip to content

Commit

Permalink
feat(dashboard/Header): responsive design
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed Apr 17, 2022
1 parent dead5d3 commit deade1a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions dashboard/src/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,25 @@
@import '@carbon/colors';
.header {
display: flex;
place-items: center;
justify-content: center;
gap: 2vw;
background-color: $gray-100;
padding-top: 2rem;
padding-bottom: 2rem;
padding-top: 2vmin;
padding-bottom: 2vmin;
}
.header-title {
text-align: center;
font-size: min(2.625rem, 10vw);
}
.header-kek {
text-align: center;
}
.header-kek > img {
height: 100px;
height: min(6.25rem, 20vw);
}
</style>

0 comments on commit deade1a

Please sign in to comment.