mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-06 20:51:48 +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.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">
|
||||||
|
|
|
@ -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 ? (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue