Skip to content

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

🐛 Fix double scrollbar on the invite page (#2973)

Luke Vellae3e195bd3f4a
diff --git a/apps/web/src/features/poll/components/voting-footer.tsx b/apps/web/src/features/poll/components/voting-footer.tsx
index f0399afc4..295242c85 100644
--- a/apps/web/src/features/poll/components/voting-footer.tsx
+++ b/apps/web/src/features/poll/components/voting-footer.tsx
@@ -45,9 +45,14 @@ export const VotingFooter = ({ className }: { className?: string }) => {
return (
<div
- className={cn("flex items-center gap-x-2.5 md:justify-end", className)}
+ className={cn(
+ "relative flex items-center gap-x-2.5 md:justify-end",
+ className,
+ )}
>
- {/* Invisible, but keeps vote taps audible for screen readers. */}
+ {/* Invisible, but keeps vote taps audible for screen readers. The
+ wrapper is positioned so this absolutely positioned node resolves
+ against it instead of the body, which would extend the document. */}
<p aria-live="polite" className="sr-only">
<Trans
i18nKey="optionsSelected"