@@ -13,6 +13,10 @@ import {
1313 MenuItem ,
1414 MenuPortal ,
1515 MenuTrigger ,
16+ ScrollArea ,
17+ ScrollAreaScrollbar ,
18+ ScrollAreaThumb ,
19+ ScrollAreaViewport ,
1620 SelectContent ,
1721 SelectItem ,
1822 SelectItemText ,
@@ -141,34 +145,41 @@ export const ModuleConfigurationPage: React.FC = () => {
141145 } )
142146
143147 return < >
144- < Text size = { "xl" } hierarchy = { "primary" } >
145- { module ?. names ?. [ 0 ] . content } plugin configuration
146- </ Text >
147- < Spacing spacing = { "xs" } />
148- < Text size = { "md" } hierarchy = { "tertiary" } >
149- { module ?. descriptions ?. [ 0 ] ?. content } < br />
150- This plugin was developed by { " " }
151- < Badge color = { "lightblue" } >
152- @{ module ?. author }
153- </ Badge >
154- </ Text >
155- < Spacing spacing = { "xl" } />
156- {
157- module ?. configurationDefinitions ?. nodes ?. map ( ( moduleConfiguration , index ) => {
148+ < ScrollArea h = { "100%" } w = { "100%" } type = { "scroll" } >
149+ < ScrollAreaViewport >
150+ < Text size = { "xl" } hierarchy = { "primary" } >
151+ { module ?. names ?. [ 0 ] . content } plugin configuration
152+ </ Text >
153+ < Spacing spacing = { "xs" } />
154+ < Text size = { "md" } hierarchy = { "tertiary" } >
155+ { module ?. descriptions ?. [ 0 ] ?. content } < br />
156+ This plugin was developed by { " " }
157+ < Badge color = { "lightblue" } >
158+ @{ module ?. author }
159+ </ Badge >
160+ </ Text >
161+ < Spacing spacing = { "xl" } />
162+ {
163+ module ?. configurationDefinitions ?. nodes ?. map ( ( moduleConfiguration , index ) => {
158164
159- if ( ! moduleConfiguration ) return null
160- if ( ! moduleConfigurationSchemas [ index ] ) return null
165+ if ( ! moduleConfiguration ) return null
166+ if ( ! moduleConfigurationSchemas [ index ] ) return null
161167
162- return < div key = { moduleConfiguration . id } >
163- < DataTypeInputComponent description = { moduleConfiguration . descriptions ?. [ 0 ] ?. content }
164- title = { moduleConfiguration . names ?. [ 0 ] ?. content }
165- schema = { moduleConfigurationSchemas [ index ] ! }
166- clearable
167- { ...inputs . getInputProps ( moduleConfiguration . id ! ) } />
168- < Spacing spacing = { "xl" } />
169- </ div >
170- } )
171- }
168+ return < div key = { moduleConfiguration . id } >
169+ < DataTypeInputComponent description = { moduleConfiguration . descriptions ?. [ 0 ] ?. content }
170+ title = { moduleConfiguration . names ?. [ 0 ] ?. content }
171+ schema = { moduleConfigurationSchemas [ index ] ! }
172+ clearable
173+ { ...inputs . getInputProps ( moduleConfiguration . id ! ) } />
174+ < Spacing spacing = { "xl" } />
175+ </ div >
176+ } )
177+ }
178+ </ ScrollAreaViewport >
179+ < ScrollAreaScrollbar orientation = { "vertical" } >
180+ < ScrollAreaThumb />
181+ </ ScrollAreaScrollbar >
182+ </ ScrollArea >
172183 < Panel position = { "bottom-center" } style = { { bottom : "1.3rem" } } >
173184 < ButtonGroup >
174185 < Select key = { runtime ?. id }
0 commit comments