forked from shuding/nextra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix navbar alignement on mobile when
Navbar.align
prop is set to `l…
…eft` (shuding#4214) upd
- Loading branch information
1 parent
9b5361d
commit 8805d3f
Showing
4 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"nextra-theme-docs": patch | ||
--- | ||
|
||
- add `overflow: hidden` on `<html>` element instead of `<body>` to lock scroll when mobile nav is open | ||
- increase z-index for mobile nav from `10` to `20`, in navbar from `20` to `30` | ||
- fix navbar alignement on mobile when `Navbar.align` prop is set to `left` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters