Skip to content

Commit

Permalink
Merge pull request #1 from introt/patch-1
Browse files Browse the repository at this point in the history
Fix sidebar width at resolutions right below {{ theme_page_width }}
  • Loading branch information
spookylukey authored Jun 21, 2021
2 parents 3cbfd7b + de2a928 commit 5404d38
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions alabaster/static/alabaster.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ div.sphinxsidebar {
div.sphinxsidebar {
display: block;
float: none;
width: 102.5%;
width: unset;
{%- if theme_fixed_sidebar|lower == 'true' %}
margin: -20px -30px 20px -30px;
position: static;
Expand Down Expand Up @@ -616,8 +616,14 @@ div.sphinxsidebar {

div.body {
min-height: 0;
min-width: auto; /* fixes width on small screens, breaks .hll */
padding: 0;
}

.hll {
/* "fixes" the breakage */
width: max-content;
}

.rtd_doc_footer {
display: none;
Expand All @@ -636,7 +642,7 @@ div.sphinxsidebar {
}

ul {
margin-left: 0;
margin-left: 0;
}

li > ul {
Expand Down

0 comments on commit 5404d38

Please sign in to comment.