File tree Expand file tree Collapse file tree
apps/webapp/app/components/primitives Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,33 +109,31 @@ export function DateTimePicker({
109109 ) }
110110 aria-label = { `${ label } time` }
111111 />
112- < div className = "flex w-full items-center justify-between gap-1" >
113- { showNowButton && (
114- < Button
115- type = "button"
116- variant = "secondary/small"
117- className = "h-[1.8rem]"
118- onClick = { handleNowClick }
119- >
120- Now
121- </ Button >
122- ) }
123- { showClearButton && (
124- < SimpleTooltip
125- button = {
126- < button
127- type = "button"
128- className = "flex h-[1.8rem] items-center justify-center px-1 text-text-dimmed transition hover:text-text-bright"
129- onClick = { handleClearClick }
130- >
131- < XIcon className = "size-3.5" />
132- </ button >
133- }
134- content = "Clear"
135- disableHoverableContent
136- />
137- ) }
138- </ div >
112+ { showNowButton && (
113+ < Button
114+ type = "button"
115+ variant = "secondary/small"
116+ className = "h-[1.8rem]"
117+ onClick = { handleNowClick }
118+ >
119+ Now
120+ </ Button >
121+ ) }
122+ { showClearButton && (
123+ < SimpleTooltip
124+ button = {
125+ < button
126+ type = "button"
127+ className = "flex h-[1.8rem] items-center justify-center px-1 text-text-dimmed transition hover:text-text-bright"
128+ onClick = { handleClearClick }
129+ >
130+ < XIcon className = "size-3.5" />
131+ </ button >
132+ }
133+ content = "Clear"
134+ disableHoverableContent
135+ />
136+ ) }
139137 </ div >
140138 ) ;
141139}
You can’t perform that action at this time.
0 commit comments