From 0f19147c6b72fa0262919e74c36d05859ff8c402 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 18 Jul 2023 13:57:09 -0400 Subject: [PATCH] Tweaks column settings button positioning --- src/webviews/apps/plus/graph/GraphWrapper.tsx | 2 +- src/webviews/apps/plus/graph/graph.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index 1772097..6339280 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -145,7 +145,7 @@ const createIconElements = (): Record => { //TODO: fix this once the styling is properly configured component-side elementLibrary.settings = createElement('span', { className: 'graph-icon icon--settings', - style: { fontSize: '1.1rem', right: '-1px', top: '-1px' }, + style: { fontSize: '1.1rem', right: '0px', top: '-1px' }, }); return elementLibrary; }; diff --git a/src/webviews/apps/plus/graph/graph.scss b/src/webviews/apps/plus/graph/graph.scss index e66b432..266fea3 100644 --- a/src/webviews/apps/plus/graph/graph.scss +++ b/src/webviews/apps/plus/graph/graph.scss @@ -415,8 +415,8 @@ button:not([disabled]), --column-button-height: 19px; position: absolute; - top: 3px; - right: 0; + top: 2px; + right: 0 !important; z-index: 2; appearance: none;