Skip to content

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

Let input stretch to fill space

Luke Vella2b4a69efcf0e
diff --git a/components/poll/participant-row-form.tsx b/components/poll/participant-row-form.tsx
index 6c66bbf11..6033ba4dc 100644
--- a/components/poll/participant-row-form.tsx
+++ b/components/poll/participant-row-form.tsx
@@ -76,14 +76,14 @@ const ParticipantRowForm: React.VoidFunctionComponent<ParticipantRowFormProps> =
className={clsx("flex shrink-0 h-14", className)}
>
{checkboxGroupHack}
- <div className="flex items-center px-4" style={{ width: sidebarWidth }}>
+ <div className="flex items-center px-2" style={{ width: sidebarWidth }}>
<Controller
name="name"
rules={{
validate: requiredString,
}}
render={({ field }) => (
- <div className="-ml-2">
+ <div className="w-full">
<NameInput
autoFocus={true}
className={clsx("w-full", {