diff --git a/CHANGELOG.md b/CHANGELOG.md index 04e0c48d..db2e5f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.7.1 +### Bug fixes +- Fix sidebar style in mobile browser. + ## 1.7.0 ### Bug fixes diff --git a/src/themes/basic/_layout.css b/src/themes/basic/_layout.css index e14a1d16..1ee467ad 100644 --- a/src/themes/basic/_layout.css +++ b/src/themes/basic/_layout.css @@ -193,7 +193,7 @@ main { &::after { content: ''; position: inherit; - left: $sidebar-width; + left: calc($sidebar-width - 1px); top: 0; height: 100vh; border-right: 1px solid rgba(0, 0, 0, .07); @@ -367,6 +367,15 @@ body.close { position: fixed; } + .sidebar { + margin-bottom: 0; + border-right: 1px solid rgba(0, 0, 0, .07); + + &::after { + content: none; + } + } + nav { margin-top: 16px; }