From d74da7556159425cbc61b9280db39faa7053101c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Kr=C3=B6g?= Date: Sun, 23 Aug 2020 12:21:47 +0200 Subject: [PATCH] Graceful fallback for internet explorer 11 --- .../api/template/static/styles/jaguar.css | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/config/jsdoc/api/template/static/styles/jaguar.css b/config/jsdoc/api/template/static/styles/jaguar.css index 52d0523f87..13494f2af0 100644 --- a/config/jsdoc/api/template/static/styles/jaguar.css +++ b/config/jsdoc/api/template/static/styles/jaguar.css @@ -67,17 +67,23 @@ li { } .navigation { background-color: #2a2a2a; - position: sticky; - top: 54px; - height: calc(100vh - 54px); } .navigation-list { - overflow: auto; padding: 0 15px 0 15px; - /* 54px navbar height */ - /* 4.25rem + 2px searchbox height */ - /* 25px navigation padding */ - height: calc(100vh - 54px - 4.25rem - 2px - 25px); +} +@supports (position: sticky) { + .navigation { + position: sticky; + top: 54px; + height: calc(100vh - 54px); + } + .navigation-list { + overflow: auto; + /* 54px navbar height */ + /* 4.25rem + 2px searchbox height */ + /* 25px navigation padding */ + height: calc(100vh - 54px - 4.25rem - 2px - 25px); + } } @media (max-width: 768px) { #wrap { @@ -88,6 +94,7 @@ li { position: inherit; } .navigation-list { + overflow: auto; max-height: 33vh; height: inherit; }