Ver código fonte

Tweaks column settings button positioning

main
Eric Amodio 1 ano atrás
pai
commit
0f19147c6b
2 arquivos alterados com 3 adições e 3 exclusões
  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 Ver arquivo

@ -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;
};

+ 2
- 2
src/webviews/apps/plus/graph/graph.scss Ver arquivo

@ -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;

Carregando…
Cancelar
Salvar