mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-06 04:31:50 +02:00
Fix badge alignment
This commit is contained in:
parent
afb9a1ed7a
commit
33512acf77
2 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ const PollSubheader: React.VoidFunctionComponent<PollSubheaderProps> = () => {
|
|||
}}
|
||||
/>
|
||||
|
||||
<span className="inline-flex space-x-1">
|
||||
<span className="inline-flex items-center space-x-1">
|
||||
{poll.role === "admin" ? (
|
||||
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">
|
||||
|
|
|
@ -82,12 +82,12 @@ const Tooltip: React.VoidFunctionComponent<TooltipProps> = ({
|
|||
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
className={clsx("inline-block", className)}
|
||||
<span
|
||||
className={clsx("inline-flex", className)}
|
||||
{...getReferenceProps({ ref: reference })}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</span>
|
||||
<FloatingPortal>
|
||||
<AnimatePresence>
|
||||
{open ? (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue