From 7f3f3d4316111686372796a2107164b8d29123e8 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 26 Jan 2015 10:12:08 -0800 Subject: [PATCH] apply `position: relative` to header otherwise, z-index has no effect, causing header shadow to fall behind content. --- IPython/html/static/base/less/page.less | 1 + IPython/html/static/style/style.min.css | 1 + 2 files changed, 2 insertions(+) diff --git a/IPython/html/static/base/less/page.less b/IPython/html/static/base/less/page.less index 6f249b2a5..73d85fdef 100644 --- a/IPython/html/static/base/less/page.less +++ b/IPython/html/static/base/less/page.less @@ -23,6 +23,7 @@ body { background-color: @body-bg; /* Display over codemirror */ + position: relative; z-index: 100; #header-container { diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index c75a86ef0..a31dca4fa 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -8401,6 +8401,7 @@ body { display: none; background-color: #ffffff; /* Display over codemirror */ + position: relative; z-index: 100; } #header #header-container {