Skip to content

Commit

Permalink
fix tablet layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fanixus96 committed Jul 8, 2022
1 parent dec3b22 commit 63ca286
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
display: flex;
flex-direction: column;
padding: 0 calc(1 * var(--base-spacing));
width: calc(28 * var(--base-spacing));
width: calc(29 * var(--base-spacing));
}

#toc-container {
Expand Down Expand Up @@ -58,6 +58,11 @@
}

@media (max-width: 1024px) {
#toc {
margin-left: calc(6 * var(--base-spacing));
margin-right: 0;
}

#toc.sidebar-shown {
display: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
}

#content > div:first-child {
width: auto;
width: calc(100% - calc(29 * var(--base-spacing)));
}

#content.sidebar-shown {
Expand Down

0 comments on commit 63ca286

Please sign in to comment.