Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Fix badge alignment

Luke Vella33512acf77b6
diff --git a/components/poll/poll-subheader.tsx b/components/poll/poll-subheader.tsx
index 3cf7d3f25..292af2986 100644
--- a/components/poll/poll-subheader.tsx
+++ b/components/poll/poll-subheader.tsx
@@ -37,7 +37,7 @@ const PollSubheader: React.VoidFunctionComponent<PollSubheaderProps> = () => {
}}
/>
&nbsp;
- <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">
diff --git a/components/tooltip.tsx b/components/tooltip.tsx
index 8dbd6f6aa..025dea6b3 100644
--- a/components/tooltip.tsx
+++ b/components/tooltip.tsx
@@ -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 ? (