Skip to content

Commit

Permalink
fix: improve sidebar style for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed May 18, 2024
1 parent 2ddf53c commit ad1da46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions static/css/contents/sphinx.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
width: 30%;
}

@media (max-width: 767px) {
.yue .sidebar {
float: none;
width: 100%;
margin-left: 0;
}
}

.yue .sidebar > * {
padding-left: 1rem;
padding-right: 1rem;
Expand Down

0 comments on commit ad1da46

Please sign in to comment.