File tree Expand file tree Collapse file tree
apps/web/components/ui/UsernameAvailability
packages/features/eventtypes/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,8 +124,9 @@ const UsernameTextfield = (props: ICustomUsernameProps & Partial<React.Component
124124 autoComplete = "none"
125125 autoCapitalize = "none"
126126 autoCorrect = "none"
127+ containerClassName = "[&>div]:gap-0"
127128 className = { classNames (
128- "mb-0 mt-0 rounded-md rounded-l-none" ,
129+ "mb-0 mt-0 rounded-md rounded-l-none pl-0 " ,
129130 markAsError
130131 ? "focus:shadow-0 focus:ring-shadow-0 border-red-500 focus:border-red-500 focus:outline-none focus:ring-0"
131132 : ""
Original file line number Diff line number Diff line change @@ -66,11 +66,13 @@ export default function CreateEventTypeForm({
6666 ! isPlatform ? (
6767 < Tooltip content = { ! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } >
6868 < span className = "max-w-24 md:max-w-56" >
69- / { ! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } /
69+ { `/ $ {! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } /` }
7070 </ span >
7171 </ Tooltip >
7272 ) : undefined
7373 }
74+ containerClassName = "[&>div]:gap-0"
75+ className = "pl-0"
7476 { ...register ( "slug" ) }
7577 onChange = { ( e ) => {
7678 form . setValue ( "slug" , slugify ( e ?. target . value ) , { shouldTouch : true } ) ;
@@ -91,11 +93,13 @@ export default function CreateEventTypeForm({
9193 < Tooltip
9294 content = { `${ urlPrefix } /${ ! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } /` } >
9395 < span className = "max-w-24 md:max-w-56" >
94- { urlPrefix } /{ ! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } /
96+ { ` ${ urlPrefix } /$ {! isManagedEventType ? pageSlug : t ( "username_placeholder" ) } /` }
9597 </ span >
9698 </ Tooltip >
9799 ) : undefined
98100 }
101+ containerClassName = "[&>div]:gap-0"
102+ className = "pl-0"
99103 { ...register ( "slug" ) }
100104 onChange = { ( e ) => {
101105 form . setValue ( "slug" , slugify ( e ?. target . value ) , { shouldTouch : true } ) ;
Original file line number Diff line number Diff line change @@ -208,9 +208,12 @@ export const EventSetupTab = (
208208 { ...( isManagedEventType || isChildrenManagedEventType ? urlLockedProps : { } ) }
209209 defaultValue = { eventType . slug }
210210 data-testid = "event-slug"
211- containerClassName = { classNames ( customClassNames ?. titleSection ?. urlInput ?. container ) }
211+ containerClassName = { classNames (
212+ "[&>div]:gap-0" ,
213+ customClassNames ?. titleSection ?. urlInput ?. container
214+ ) }
212215 labelClassName = { classNames ( customClassNames ?. titleSection ?. urlInput ?. label ) }
213- className = { classNames ( customClassNames ?. titleSection ?. urlInput ?. input ) }
216+ className = { classNames ( "pl-0" , customClassNames ?. titleSection ?. urlInput ?. input ) }
214217 addOnLeading = {
215218 isPlatform ? undefined : (
216219 < >
You can’t perform that action at this time.
0 commit comments