From eb94bef4d2aebe2bf16093f776e1703d7db106fc Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Tue, 22 Nov 2022 10:36:28 -0500 Subject: [PATCH] 19504: Use MDI frozen icon for better icon alignment Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- src/components/breadcrumbs/breadcrumbs.tsx | 8 +++++--- src/components/icon/icon.tsx | 16 ++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/components/breadcrumbs/breadcrumbs.tsx b/src/components/breadcrumbs/breadcrumbs.tsx index 3237f800..38c2a394 100644 --- a/src/components/breadcrumbs/breadcrumbs.tsx +++ b/src/components/breadcrumbs/breadcrumbs.tsx @@ -52,17 +52,19 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ opacity: 1 }, label: { - textTransform: "none" + textTransform: "none", + paddingRight: '3px', + paddingLeft: '3px', }, icon: { fontSize: 20, color: grey["600"], - marginRight: '10px', + marginRight: '5px', }, frozenIcon: { fontSize: 20, color: grey["600"], - marginLeft: '10px', + marginLeft: '3px', }, }); diff --git a/src/components/icon/icon.tsx b/src/components/icon/icon.tsx index 7fd32e54..4446f92a 100644 --- a/src/components/icon/icon.tsx +++ b/src/components/icon/icon.tsx @@ -87,18 +87,14 @@ library.add( ); export const FreezeIcon = (props: any) => - - - + + + export const UnfreezeIcon = (props: any) => -
-
- - -
-
; + + + export const PendingIcon = (props: any) => -- 2.30.2