mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
Let input stretch to fill space
This commit is contained in:
parent
2810c049c2
commit
2b4a69efcf
1 changed files with 2 additions and 2 deletions
|
@ -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", {
|
||||
|
|
Loading…
Add table
Reference in a new issue