瀏覽代碼

Tweaks column settings button positioning

main
Eric Amodio 1 年之前
父節點
當前提交
0f19147c6b
共有 2 個檔案被更改,包括 3 行新增3 行删除
  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 查看文件

@ -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 查看文件

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

Loading…
取消
儲存