Skip to content

Commit c1535cd

Browse files
committed
Fix footer display
Currently, sidebar's height is reduced to avoid covering up the footer. But this cuts the sidebar short even before the footer is reached. Alternatively, we can achieve the same effect by increasing the footer's z-index to make it appear on top of the sidebar.
1 parent c15320e commit c1535cd

File tree

1 file changed

+4
-7
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+4
-7
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,6 @@ nav {
214214
background: white;
215215
}
216216

217-
@media (min-width: 1024px) {
218-
nav {
219-
min-height: unset;
220-
height: calc(100vh - 100px); /* reduce the footer height */
221-
}
222-
}
223-
224217
main {
225218
display: block;
226219
margin: 3em auto 1em;
@@ -731,4 +724,8 @@ pre {
731724
font-family: "Source Code Pro", Monaco, monospace;
732725
}
733726

727+
footer {
728+
z-index: 20;
729+
}
730+
734731
/* @end */

0 commit comments

Comments
 (0)