Skip to content

Commit

Permalink
GD-457: Fix CSS so that sidebar is responsive on small screens. (#462)
Browse files Browse the repository at this point in the history
# Why
Enable the sidebar to be responsive to support mobile users.


# What
Simplified CSS while still keeping the logo large.
  • Loading branch information
olinic committed May 21, 2024
1 parent 656eb74 commit 072ecc6
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions assets/css/site-header.css
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
.main {
position: relative;
max-width: 1200px;
margin-left: calc((100% - 1264px) / 2 + 264px);
}

.site-header {
display: flex;
min-height: 140px;
align-items: center;
}

.side-bar {
width: calc((100% - 1264px) / 2 + 264px);
min-width: 64px;
}

.site-logo {
min-height: 130px;
}

.site.title {
position: relative;
height: 6rem;
max-height: 6rem;
}


h1,
h2,
h3,
Expand Down Expand Up @@ -59,7 +38,6 @@ h4 {
margin-top: 1.25rem;
}


img.centered {
display: block;
margin-left: auto;
Expand Down

0 comments on commit 072ecc6

Please sign in to comment.