Commit 70bc577d authored by Max Alekseenko's avatar Max Alekseenko

add line break

parent bde9906e
......@@ -67,7 +67,7 @@ const AppSecurityReport = ({
onClick={ handleButtonClick }
isActive={ isOpen }
onlyIcon={ onlyIcon }
label="The security score is based on analysis of a DApp's smart contracts."
label={ <>The security score is based on analysis<br/>of a DApp{ apos }s smart contracts.</> }
className={ className }
/>
</PopoverTrigger>
......
......@@ -11,7 +11,7 @@ interface Props {
isLoading?: boolean;
onlyIcon?: boolean;
onClick?: () => void;
label?: string;
label?: string | React.ReactElement;
isActive: boolean;
className?: string;
}
......@@ -25,7 +25,7 @@ const SolidityscanReportButton = (
const isMobile = useIsMobile();
return (
<Tooltip label={ label } isDisabled={ isMobile } openDelay={ 100 }>
<Tooltip label={ label } isDisabled={ isMobile } openDelay={ 100 } textAlign="center">
<Button
className={ className }
ref={ ref }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment