Browse Source

Tweaks column settings button positioning

main
Eric Amodio 1 year ago
parent
commit
0f19147c6b
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/webviews/apps/plus/graph/GraphWrapper.tsx
  2. +2
    -2
      src/webviews/apps/plus/graph/graph.scss

+ 1
- 1
src/webviews/apps/plus/graph/GraphWrapper.tsx View File

@ -145,7 +145,7 @@ const createIconElements = (): Record => {
//TODO: fix this once the styling is properly configured component-side //TODO: fix this once the styling is properly configured component-side
elementLibrary.settings = createElement('span', { elementLibrary.settings = createElement('span', {
className: 'graph-icon icon--settings', className: 'graph-icon icon--settings',
style: { fontSize: '1.1rem', right: '-1px', top: '-1px' },
style: { fontSize: '1.1rem', right: '0px', top: '-1px' },
}); });
return elementLibrary; return elementLibrary;
}; };

+ 2
- 2
src/webviews/apps/plus/graph/graph.scss View File

@ -415,8 +415,8 @@ button:not([disabled]),
--column-button-height: 19px; --column-button-height: 19px;
position: absolute; position: absolute;
top: 3px;
right: 0;
top: 2px;
right: 0 !important;
z-index: 2; z-index: 2;
appearance: none; appearance: none;

Loading…
Cancel
Save