From b9ddb06418b8cf9f9bf9051610c9d2b9bf7760c7 Mon Sep 17 00:00:00 2001 From: Jason Weill Date: Fri, 24 Mar 2023 11:18:29 -0700 Subject: [PATCH] Incremental change for more specific selector --- packages/notebook-extension/style/base.css | 6 ++++++ packages/terminal-extension/style/base.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/notebook-extension/style/base.css b/packages/notebook-extension/style/base.css index bd9179c242..da764e341e 100644 --- a/packages/notebook-extension/style/base.css +++ b/packages/notebook-extension/style/base.css @@ -122,6 +122,12 @@ body[data-notebook='notebooks'] } } +/* Hide the stub toolbar that appears above notebooks */ + +jp-MainAreaWidget > .jp-Toolbar-micro { + display: none; +} + /* Mobile View */ body[data-format='mobile'] .jp-NotebookCheckpoint { diff --git a/packages/terminal-extension/style/base.css b/packages/terminal-extension/style/base.css index 42e484f1dc..e75864385c 100644 --- a/packages/terminal-extension/style/base.css +++ b/packages/terminal-extension/style/base.css @@ -1,5 +1,5 @@ /* Hide the stub toolbar that appears above terminals */ -.jp-Toolbar-micro { +jp-MainAreaWidget > .jp-Toolbar-micro { display: none; }