Skip to content

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

💄 Fix layout shift when adding participant

Luke Vella573afab22aae
diff --git a/apps/web/src/components/poll/desktop-poll.tsx b/apps/web/src/components/poll/desktop-poll.tsx
index f62cbe1ce..b428154df 100644
--- a/apps/web/src/components/poll/desktop-poll.tsx
+++ b/apps/web/src/components/poll/desktop-poll.tsx
@@ -278,8 +278,7 @@ const DesktopPoll: React.FunctionComponent = () => {
{canAddNewParticipant && mode !== "new" ? (
<Button
className="ml-2"
- size="icon"
- variant="ghost"
+ size="icon-xs"
data-testid="add-participant-button"
onClick={() => {
votingForm.newParticipant();