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

add line break

parent bde9906e
...@@ -67,7 +67,7 @@ const AppSecurityReport = ({ ...@@ -67,7 +67,7 @@ const AppSecurityReport = ({
onClick={ handleButtonClick } onClick={ handleButtonClick }
isActive={ isOpen } isActive={ isOpen }
onlyIcon={ onlyIcon } 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 } className={ className }
/> />
</PopoverTrigger> </PopoverTrigger>
......
...@@ -11,7 +11,7 @@ interface Props { ...@@ -11,7 +11,7 @@ interface Props {
isLoading?: boolean; isLoading?: boolean;
onlyIcon?: boolean; onlyIcon?: boolean;
onClick?: () => void; onClick?: () => void;
label?: string; label?: string | React.ReactElement;
isActive: boolean; isActive: boolean;
className?: string; className?: string;
} }
...@@ -25,7 +25,7 @@ const SolidityscanReportButton = ( ...@@ -25,7 +25,7 @@ const SolidityscanReportButton = (
const isMobile = useIsMobile(); const isMobile = useIsMobile();
return ( return (
<Tooltip label={ label } isDisabled={ isMobile } openDelay={ 100 }> <Tooltip label={ label } isDisabled={ isMobile } openDelay={ 100 } textAlign="center">
<Button <Button
className={ className } className={ className }
ref={ ref } 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