Tidy up rendering of info tooltips
This commit is contained in:
parent
7c798a063c
commit
1e11491369
|
@ -4,8 +4,8 @@ import { Tooltip } from './tooltip'
|
|||
export function InfoTooltip(props: { text: string }) {
|
||||
const { text } = props
|
||||
return (
|
||||
<Tooltip text={text}>
|
||||
<InformationCircleIcon className="h-5 w-5 text-gray-500" />
|
||||
<Tooltip className="inline-block" text={text}>
|
||||
<InformationCircleIcon className="-mb-1 h-5 w-5 text-gray-500" />
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user