From 9956e5b76c12ebfd3f1efd943078efb5f2de48a2 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 20 Sep 2022 10:58:17 -0400 Subject: [PATCH] Standarize icon styling --- .../netlify-cms-core/src/components/Collection/Sidebar.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/netlify-cms-core/src/components/Collection/Sidebar.js b/packages/netlify-cms-core/src/components/Collection/Sidebar.js index 54016b27..a5ad4318 100644 --- a/packages/netlify-cms-core/src/components/Collection/Sidebar.js +++ b/packages/netlify-cms-core/src/components/Collection/Sidebar.js @@ -55,7 +55,7 @@ const SidebarNavLink = styled(NavLink)` z-index: -1; ${Icon} { - margin-right: 8px; + margin-right: 0; flex-shrink: 0; } @@ -78,7 +78,7 @@ const AdditionalLink = styled.a` z-index: -1; ${Icon} { - margin-right: 8px; + margin-right: 0; flex-shrink: 0; } @@ -95,10 +95,6 @@ const IconWrapper = styled.div` align-items: center; justify-content: center; margin-right: 8px; - - > span { - margin-right: 0; - } `; export class Sidebar extends React.Component {