File tree Expand file tree Collapse file tree 3 files changed +39
-33
lines changed
portal-ui/src/screens/Console
Common/FormComponents/SelectWrapper Expand file tree Collapse file tree 3 files changed +39
-33
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ const EnableQuota = ({
174174 />
175175 </ Grid >
176176 < Grid item xs = { 12 } >
177- < div className = { classes . multiContainer } >
178- < div className = { classes . quotaSizeContainer } >
177+ < Grid container >
178+ < Grid item xs = { 10 } >
179179 < InputBoxWrapper
180180 type = "number"
181181 id = "quota_size"
@@ -188,20 +188,22 @@ const EnableQuota = ({
188188 required
189189 min = "1"
190190 />
191- </ div >
192- < div className = { classes . sizeFactorContainer } >
193- < SelectWrapper
194- label = " "
195- id = "quota_unit"
196- name = "quota_unit"
197- value = { quotaUnit }
198- onChange = { ( e : SelectChangeEvent < string > ) => {
199- setQuotaUnit ( e . target . value as string ) ;
200- } }
201- options = { factorForDropdown ( ) }
202- />
203- </ div >
204- </ div >
191+ </ Grid >
192+ < Grid item xs = { 2 } >
193+ < div style = { { width : 100 } } >
194+ < SelectWrapper
195+ label = ""
196+ id = "quota_unit"
197+ name = "quota_unit"
198+ value = { quotaUnit }
199+ onChange = { ( e : SelectChangeEvent < string > ) => {
200+ setQuotaUnit ( e . target . value as string ) ;
201+ } }
202+ options = { factorForDropdown ( ) }
203+ />
204+ </ div >
205+ </ Grid >
206+ </ Grid >
205207 </ Grid >
206208 </ React . Fragment >
207209 ) }
Original file line number Diff line number Diff line change @@ -384,8 +384,8 @@ const AddBucket = ({
384384 />
385385 </ Grid >
386386 < Grid item xs = { 12 } >
387- < div className = { classes . multiContainer } >
388- < div className = { classes . quotaSizeContainer } >
387+ < Grid container >
388+ < Grid item xs = { 10 } >
389389 < InputBoxWrapper
390390 type = "number"
391391 id = "quota_size"
@@ -398,20 +398,22 @@ const AddBucket = ({
398398 required
399399 min = "1"
400400 />
401- </ div >
402- < div className = { classes . sizeFactorContainer } >
403- < SelectWrapper
404- label = " "
405- id = "quota_unit"
406- name = "quota_unit"
407- value = { quotaUnit }
408- onChange = { ( e : SelectChangeEvent < string > ) => {
409- addBucketQuotaUnit ( e . target . value as string ) ;
410- } }
411- options = { factorForDropdown ( ) }
412- />
413- </ div >
414- </ div >
401+ </ Grid >
402+ < Grid item xs = { 2 } >
403+ < div style = { { width : 100 } } >
404+ < SelectWrapper
405+ label = ""
406+ id = "quota_unit"
407+ name = "quota_unit"
408+ value = { quotaUnit }
409+ onChange = { ( e : SelectChangeEvent < string > ) => {
410+ addBucketQuotaUnit ( e . target . value as string ) ;
411+ } }
412+ options = { factorForDropdown ( ) }
413+ />
414+ </ div >
415+ </ Grid >
416+ </ Grid >
415417 </ Grid >
416418 </ React . Fragment >
417419 ) }
Original file line number Diff line number Diff line change @@ -56,17 +56,19 @@ const styles = (theme: Theme) =>
5656const SelectStyled = withStyles ( ( theme : Theme ) =>
5757 createStyles ( {
5858 root : {
59+ height : 38 ,
5960 lineHeight : 1 ,
6061 "label + &" : {
6162 marginTop : theme . spacing ( 3 ) ,
6263 } ,
6364 } ,
6465 input : {
66+ height : 38 ,
6567 position : "relative" ,
6668 color : "#07193E" ,
6769 fontSize : 13 ,
6870 fontWeight : 600 ,
69- padding : "10px 20px 10px 10px" ,
71+ padding : "8px 20px 10px 10px" ,
7072 border : "#e5e5e5 1px solid" ,
7173 borderRadius : 4 ,
7274 display : "flex" ,
You can’t perform that action at this time.
0 commit comments