From 5751d0c28ed87f41265d27ab78cc2bdb3826061b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lasse=20J=C3=B8rgensen?= <28780271+lasjorg@users.noreply.github.com> Date: Tue, 28 Feb 2023 01:23:44 +0100 Subject: [PATCH] feat(client): make the new help icon clearer (#49516) * feat(learn): update help button * fix: remove space between svgs * move style objects out of component --- client/src/assets/icons/help.tsx | 47 +++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/client/src/assets/icons/help.tsx b/client/src/assets/icons/help.tsx index f745414e83a..e6d3760857c 100644 --- a/client/src/assets/icons/help.tsx +++ b/client/src/assets/icons/help.tsx @@ -1,20 +1,47 @@ import React from 'react'; +const wrapper = { + display: 'grid', + placeItems: 'center', + position: 'relative', + padding: 'inherit' +} as React.CSSProperties; + +const speechBubbleIcon = { + position: 'absolute' +} as React.CSSProperties; + +const questionMarkIcon = { + position: 'absolute', + top: '-3px', + width: '9px' +} as React.CSSProperties; + function Help( props: JSX.IntrinsicAttributes & React.SVGProps ): JSX.Element { return ( <> - +
+ + + + + + +
); }