Skip to content

Commit 916a4a2

Browse files
kwertyopscarltongibson
authored andcommitted
Interactive docs - make bottom sidebar items sticky (encode#5516)
1 parent f5e98ef commit 916a4a2

File tree

1 file changed

+6
-1
lines changed
  • rest_framework/static/rest_framework/docs/css

1 file changed

+6
-1
lines changed

rest_framework/static/rest_framework/docs/css/base.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ pre.highlight code {
6464
display: none;
6565
}
6666

67+
.sidebar .menu-list {
68+
width: inherit;
69+
}
70+
6771
.sidebar .menu-list ul,
6872
.sidebar .menu-list li {
6973
background: #2e353d;
@@ -194,7 +198,8 @@ body {
194198

195199
.sidebar .menu-list.menu-list-bottom {
196200
margin-bottom: 0;
197-
position: absolute;
201+
position: fixed;
202+
width: inherit;
198203
bottom: 0;
199204
left: 0;
200205
right: 0;

0 commit comments

Comments
 (0)