Skip to content

Commit

Permalink
Improve navbar & docs landing page for smaller mobile devices (direct…
Browse files Browse the repository at this point in the history
…us#19048)

Header collapsing and navbar overlapping on smaller mobile devices (for
example Galaxy S23)
  • Loading branch information
paescuj committed Jun 30, 2023
1 parent 78b2ca4 commit 6658351
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/.vitepress/theme/overrides.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/**
* Make logo size of the sidebar
* -------------------------------------------------------------------------- */
.VPNav .VPNavBar .VPNavBarTitle .logo {
height: unset;
@media only screen and (min-width: 370px) {
.VPNav .VPNavBar .VPNavBarTitle .logo {
height: unset;
}
}

/**
Expand Down
6 changes: 6 additions & 0 deletions docs/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,9 @@
padding-block: 32px;
}
}

@media only screen and (max-width: 380px) {
.heroContent h1 {
font-size: 36px;
}
}

0 comments on commit 6658351

Please sign in to comment.