From 690b5180d7b6ca50a673898a6d812cd3e8450796 Mon Sep 17 00:00:00 2001 From: andrewhannum Date: Thu, 19 Oct 2017 10:51:19 -0600 Subject: [PATCH] Interactive docs - make bottom sidebar items sticky --- rest_framework/static/rest_framework/docs/css/base.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rest_framework/static/rest_framework/docs/css/base.css b/rest_framework/static/rest_framework/docs/css/base.css index b7ae6375e..97728e3c6 100644 --- a/rest_framework/static/rest_framework/docs/css/base.css +++ b/rest_framework/static/rest_framework/docs/css/base.css @@ -64,6 +64,10 @@ pre.highlight code { display: none; } +.sidebar .menu-list { + width: inherit; +} + .sidebar .menu-list ul, .sidebar .menu-list li { background: #2e353d; @@ -194,7 +198,8 @@ body { .sidebar .menu-list.menu-list-bottom { margin-bottom: 0; - position: absolute; + position: fixed; + width: inherit; bottom: 0; left: 0; right: 0;