From 9ba4057a3c23f73b4f15059ed5feb0459df7749b Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Tue, 6 Jul 2021 17:50:54 -0700 Subject: [PATCH] fix notebook icon highlights (#16009) --- .../contrib/notebook/browser/cellViews/code.css | 7 ++++--- .../workbench/contrib/notebook/browser/notebook.css | 13 +------------ 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/code.css b/src/sql/workbench/contrib/notebook/browser/cellViews/code.css index 79e74be391..8524c14d78 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/code.css +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/code.css @@ -36,10 +36,11 @@ code-component .toolbar .carbon-taskbar { } code-component .toolbar .carbon-taskbar.monaco-toolbar .monaco-action-bar .codicon.action-label { - height: 20px; - padding-bottom: 10px; + height: 25px; + width: 25px; + padding: 0px; background-size: 20px; - width: 40px; + background-position: center; } .notebook-cell:not(.active):hover code-component .toolbarIconRun { diff --git a/src/sql/workbench/contrib/notebook/browser/notebook.css b/src/sql/workbench/contrib/notebook/browser/notebook.css index a3f77a5a6f..2104fcd3fb 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebook.css +++ b/src/sql/workbench/contrib/notebook/browser/notebook.css @@ -74,18 +74,7 @@ .actions-container .action-item .codicon.masked-icon:before { - margin-right: 0; - padding-left: 18px; - width: 16px; -} - -.notebookEditor - .in-preview - .actions-container - .action-item - .codicon.icon-run-with-parameters:before { - padding-left: 20px; - width: 18px; + width: 100%; } .notebookEditor .in-preview .actions-container .action-item:last-child {