File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
frontend/app/components/redesign/components/builder Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,17 @@ function CustomTitle({
8080 helpText
8181} : Omit < Props , 'suggestions' > & { placeholder : string } ) {
8282 const ref = useRef < HTMLInputElement > ( null )
83+ const id = 'custom-title-input'
8384 return (
84- < fieldset className = "flex flex-col gap-xs" >
85- < legend className = "text-base leading-md font-bold text-text-primary mb-xs" >
85+ < div className = "flex flex-col gap-xs" >
86+ < label
87+ htmlFor = { id }
88+ className = "text-base leading-md font-bold text-text-primary"
89+ >
8690 Custom title
87- </ legend >
91+ </ label >
8892 < InputField
93+ id = { id }
8994 value = { value }
9095 onChange = { ( e ) => onChange ( e . target . value . trim ( ) ) }
9196 ref = { ref }
@@ -96,6 +101,6 @@ function CustomTitle({
96101 helpText = { helpText }
97102 className = "h-12 text-base leading-md"
98103 />
99- </ fieldset >
104+ </ div >
100105 )
101106}
You can’t perform that action at this time.
0 commit comments