From 937b42fda4362d1c37e4c3601c3feb4e12951045 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 14 Sep 2015 09:35:21 -0700 Subject: [PATCH] Only hide top-level-header. closes jupyter/nbconvert#100 --- notebook/static/base/less/page.less | 2 +- notebook/static/notebook/less/notebook.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/static/base/less/page.less b/notebook/static/base/less/page.less index 754ca6cc3..9d036d41e 100644 --- a/notebook/static/base/less/page.less +++ b/notebook/static/base/less/page.less @@ -17,7 +17,7 @@ body { overflow: visible; } -#header { +body > #header { /* Initially hidden to prevent FLOUC */ display: none; background-color: @body-bg; diff --git a/notebook/static/notebook/less/notebook.less b/notebook/static/notebook/less/notebook.less index b4f9535f0..2c3e8e6a3 100644 --- a/notebook/static/notebook/less/notebook.less +++ b/notebook/static/notebook/less/notebook.less @@ -79,7 +79,7 @@ p { transition: height .2s ease; } -.notebook_app #header { +.notebook_app > #header { .box-shadow(@global-shadow); }