Skip to content

Commit 8742ead

Browse files
Adjusts graph header settings icon size and alignment
1 parent 9933c97 commit 8742ead

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ const createIconElements = (): Record<string, ReactElement> => {
131131
'message',
132132
'changes',
133133
'files',
134-
'settings',
135134
];
136135

137136
const miniIconList = ['upstream-ahead', 'upstream-behind'];
@@ -143,6 +142,11 @@ const createIconElements = (): Record<string, ReactElement> => {
143142
miniIconList.forEach(iconKey => {
144143
elementLibrary[iconKey] = createElement('span', { className: `graph-icon mini-icon icon--${iconKey}` });
145144
});
145+
//TODO: fix this once the styling is properly configured component-side
146+
elementLibrary.settings = createElement('span', {
147+
className: 'graph-icon icon--settings',
148+
style: { fontSize: '1.1rem', right: '-1px', top: '-1px' },
149+
});
146150
return elementLibrary;
147151
};
148152

0 commit comments

Comments
 (0)