Fix badge alignment

This commit is contained in:
Luke Vella 2022-04-27 18:23:03 +01:00
parent afb9a1ed7a
commit 33512acf77
2 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ const PollSubheader: React.VoidFunctionComponent<PollSubheaderProps> = () => {
}} }}
/> />
&nbsp; &nbsp;
<span className="inline-flex space-x-1"> <span className="inline-flex items-center space-x-1">
{poll.role === "admin" ? ( {poll.role === "admin" ? (
poll.verified ? ( poll.verified ? (
<span className="inline-flex h-5 cursor-default items-center rounded-md bg-green-100/50 px-1 text-xs text-green-500 transition-colors"> <span className="inline-flex h-5 cursor-default items-center rounded-md bg-green-100/50 px-1 text-xs text-green-500 transition-colors">

View file

@ -82,12 +82,12 @@ const Tooltip: React.VoidFunctionComponent<TooltipProps> = ({
return ( return (
<> <>
<div <span
className={clsx("inline-block", className)} className={clsx("inline-flex", className)}
{...getReferenceProps({ ref: reference })} {...getReferenceProps({ ref: reference })}
> >
{children} {children}
</div> </span>
<FloatingPortal> <FloatingPortal>
<AnimatePresence> <AnimatePresence>
{open ? ( {open ? (