From af82d48a1f33ce2547b0d26922fbe1b55c3a5713 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Fri, 9 Oct 2020 22:31:22 +0200 Subject: [PATCH] Small code icon adjustment (#3837) * Small code icon adjustment * justify/align --- packages/page-contracts/src/shared/CodeRow.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/page-contracts/src/shared/CodeRow.tsx b/packages/page-contracts/src/shared/CodeRow.tsx index 435716d453..61634a4c29 100644 --- a/packages/page-contracts/src/shared/CodeRow.tsx +++ b/packages/page-contracts/src/shared/CodeRow.tsx @@ -80,15 +80,14 @@ function CodeRow ({ buttons, children, className, code: { json }, isInline, with export default React.memo(styled(CodeRow)` .ui--CodeRow-icon { - margin-right: 1em; + margin-right: -0.5em; background: #eee; border-radius: 50%; color: #666; - width: 28px; - height: 28px; - padding: 0.5rem; + width: 26px; + height: 26px; display: flex; - justify-content: flex-end; - align-items: flex-end; + justify-content: center; + align-items: center; } `);