From 4976b43aea0ab6a3ac8662f52f89b4513bbf205e Mon Sep 17 00:00:00 2001 From: Ramin Tadayon Date: Tue, 30 May 2023 11:07:15 +0900 Subject: [PATCH] Adds files icon for graph changes column --- src/webviews/apps/plus/graph/GraphWrapper.tsx | 1 + src/webviews/apps/plus/graph/graph.scss | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index d10b2a2..a236015 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -133,6 +133,7 @@ const createIconElements = (): { [key: string]: ReactElement } => { 'datetime', 'message', 'changes', + 'files', ]; const miniIconList = ['upstream-ahead', 'upstream-behind']; diff --git a/src/webviews/apps/plus/graph/graph.scss b/src/webviews/apps/plus/graph/graph.scss index 8488b6f..24cf005 100644 --- a/src/webviews/apps/plus/graph/graph.scss +++ b/src/webviews/apps/plus/graph/graph.scss @@ -752,6 +752,14 @@ button:not([disabled]), content: '\eb43'; } } + + &--files { + &::before { + // codicon-files + font-family: codicon; + content: '\eaf0'; + } + } } .titlebar {