From 18a6879d64f1aada389d272b6271fc8b81f653c3 Mon Sep 17 00:00:00 2001 From: Laura Jiang <39676345+laurajjiang@users.noreply.github.com> Date: Mon, 24 Aug 2020 16:05:31 -0700 Subject: [PATCH] Create sticky run code button for notebook code cell (#11903) * update css for run code button * rm extra position change --- .../contrib/notebook/browser/cellViews/code.component.html | 2 +- src/sql/workbench/contrib/notebook/browser/cellViews/code.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/code.component.html b/src/sql/workbench/contrib/notebook/browser/cellViews/code.component.html index 8a3d54c5e8..49185ead46 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/code.component.html +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/code.component.html @@ -5,7 +5,7 @@ *--------------------------------------------------------------------------------------------*/ -->
-
+
diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/code.css b/src/sql/workbench/contrib/notebook/browser/cellViews/code.css index ae65b9fd43..2c88334453 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/code.css +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/code.css @@ -31,7 +31,7 @@ code-component .toolbar.markdown { code-component .toolbar .carbon-taskbar { position: sticky; - top: 0px; + top: -16px; margin-top: 5px; }