Fix sidebar style in mobile browser
This commit is contained in:
parent
5c58629e69
commit
e93f6b95ea
2 changed files with 14 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
## 1.7.1
|
||||||
|
### Bug fixes
|
||||||
|
- Fix sidebar style in mobile browser.
|
||||||
|
|
||||||
## 1.7.0
|
## 1.7.0
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ main {
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: inherit;
|
position: inherit;
|
||||||
left: $sidebar-width;
|
left: calc($sidebar-width - 1px);
|
||||||
top: 0;
|
top: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
border-right: 1px solid rgba(0, 0, 0, .07);
|
border-right: 1px solid rgba(0, 0, 0, .07);
|
||||||
|
|
@ -367,6 +367,15 @@ body.close {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
margin-bottom: 0;
|
||||||
|
border-right: 1px solid rgba(0, 0, 0, .07);
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue