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 }) {
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user