Skip to content

Commit

Permalink
fix: sidebar style issue on firefox, fixed #184 (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Oct 30, 2017
1 parent 4ad96f3 commit 36bfc9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/themes/basic/_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ main {
.sidebar {
border-right: 1px solid rgba(0, 0, 0, 0.07);
overflow-y: auto;
padding: 40px 0;
padding: 40px 0 0;
position: absolute 0 * 0 0;
transition: transform 250ms ease-out;
width: $sidebar-width;
Expand All @@ -257,6 +257,7 @@ main {

.sidebar-nav {
line-height: 2em;
padding-bottom: 40px;
}

ul {
Expand Down
3 changes: 2 additions & 1 deletion src/themes/vue.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ body {
}

.app-sub-sidebar {
.section-link {
li {
&::before {
content: '-';
padding-right: 4px;
float: left;
}
}
}
Expand Down

0 comments on commit 36bfc9d

Please sign in to comment.