Tidy up rendering of info tooltips

This commit is contained in:
Marshall Polaris 2022-08-28 01:43:13 -07:00
parent 7c798a063c
commit 1e11491369

View File

@ -4,8 +4,8 @@ import { Tooltip } from './tooltip'
export function InfoTooltip(props: { text: string }) { export function InfoTooltip(props: { text: string }) {
const { text } = props const { text } = props
return ( return (
<Tooltip text={text}> <Tooltip className="inline-block" text={text}>
<InformationCircleIcon className="h-5 w-5 text-gray-500" /> <InformationCircleIcon className="-mb-1 h-5 w-5 text-gray-500" />
</Tooltip> </Tooltip>
) )
} }