@@ -24,9 +24,12 @@ const NumberTextFieldStyled = styled(NumberTextField)({
2424} ) ;
2525
2626const InputContainerStyled = styled ( 'div' ) ( ( { theme } ) => ( {
27- width : '65%' ,
28- paddingTop : theme . spacing ( 2 ) ,
27+ paddingTop : theme . spacing ( 1 ) ,
2928 paddingBottom : theme . spacing ( 2 ) ,
29+
30+ '.select-input-container' : {
31+ minWidth : '65%' ,
32+ } ,
3033} ) ) ;
3134
3235const FlexContainer = styled ( 'div' ) ( {
@@ -82,15 +85,8 @@ class GeneralConfigBlock extends React.Component {
8285 return (
8386 < React . Fragment >
8487 < FlexContainer >
85- < TitleText component = { 'div' } >
86- Define questions
87- </ TitleText >
88- < StyledTooltip
89- disableFocusListener
90- disableTouchListener
91- placement = { 'right' }
92- title = { validationMessage }
93- >
88+ < TitleText component = { 'div' } > Define questions</ TitleText >
89+ < StyledTooltip disableFocusListener disableTouchListener placement = { 'right' } title = { validationMessage } >
9490 < Info fontSize = { 'small' } color = { 'primary' } />
9591 </ StyledTooltip >
9692 </ FlexContainer >
@@ -99,26 +95,24 @@ class GeneralConfigBlock extends React.Component {
9995 < Input >
10096 { layout . settings && (
10197 < InputContainerStyled >
102-
103- < InputContainer label = { layout . label } className = "inputContainer" >
104- < NumberTextFieldStyled
105- type = "number"
106- min = { 3 }
107- max = { maxAnswers || 10 }
108- value = { model . layout }
109- onChange = { ( e , v ) => this . onChangeColumns ( 'layout' , v ) }
110- suffix = { 'Columns' }
111- />
112- </ InputContainer >
113-
98+ < InputContainer label = { layout . label } className = "input-container" >
99+ < NumberTextFieldStyled
100+ type = "number"
101+ min = { 3 }
102+ max = { maxAnswers || 10 }
103+ value = { model . layout }
104+ onChange = { ( e , v ) => this . onChangeColumns ( 'layout' , v ) }
105+ suffix = { 'Columns' }
106+ />
107+ </ InputContainer >
114108 </ InputContainerStyled >
115109 ) }
116110 </ Input >
117111
118112 < Input >
119113 { choiceMode . settings && (
120114 < InputContainerStyled >
121- < InputContainer label = { choiceMode . label } className = "inputContainer " >
115+ < InputContainer label = { choiceMode . label } className = "select-input-container " >
122116 < Select
123117 variant = "standard"
124118 onChange = { this . onChangeResponseType ( 'choiceMode' ) }
0 commit comments