File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 188188 overflow-x : hidden;
189189 overflow-y : scroll;
190190
191- padding : 9px 36 px 9px 9px ;
191+ padding : 9px 40 px 9px 9px ;
192192
193193 resize : none;
194194 cursor : text;
195195 word-wrap : break-word;
196- max-height : 50 px ;
196+ max-height : 100 px ;
197197 & ::-webkit-scrollbar {
198198 width : 13px ;
199199 height : 13px ;
Original file line number Diff line number Diff line change @@ -187,13 +187,25 @@ export class TextFieldWrapper extends React.Component {
187187 onClick : ( ) => this . handleVisibilityToggle ( ) ,
188188 } ;
189189
190+ const blockProps = {
191+ className : 'st2-auto-form__wrapper-block' ,
192+ } ;
193+
190194 const line = (
191195 < div className = 'st2-auto-form__line' >
192196 < Label className = { this . props . labelClass || 'st2-auto-form__text-field' } >
193197 < Icon name = { this . props . icon } />
194198 < Title { ...this . props } />
195- { this . props . spec && this . props . spec . secret && < Button { ...buttonProps } /> }
196- { this . props . children }
199+ {
200+ this . props . spec && this . props . spec . secret
201+ ?
202+ < div { ...blockProps } >
203+ < Button { ...buttonProps } />
204+ { this . props . children }
205+ </ div >
206+ :
207+ this . props . children
208+ }
197209 < ErrorMessage > { this . props . invalid } </ ErrorMessage >
198210 </ Label >
199211 < Description { ...this . props } />
You can’t perform that action at this time.
0 commit comments