Skip to content

Commit

Permalink
fix: fix mobile banner style (#44)
Browse files Browse the repository at this point in the history
Signed-off-by: frank-zsy <[email protected]>
  • Loading branch information
frank-zsy authored Sep 13, 2024
1 parent 4b4e1e6 commit dbc5dd3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
z-index: 1000;
}

@media (max-width: 768px) {
.fixed-banner {
height: calc(var(--banner-height) * 3);
}
}

.fixed-banner a {
color: white;
text-decoration: underline;
Expand All @@ -53,6 +59,12 @@
height: var(--banner-height);
}

@media (max-width: 768px) {
.banner-placeholder {
height: calc(var(--banner-height) * 3);
}
}

.header--github-link {
width: 32px;
height: 32px;
Expand Down

0 comments on commit dbc5dd3

Please sign in to comment.