File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
packages/sn-controls-react/src/fieldcontrols Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,17 @@ export const Switcher: React.FC<ReactClientFieldSetting<FieldSetting>> = (props)
137137 required = { props . settings . Compulsory }
138138 disabled = { props . settings . ReadOnly } >
139139 < Typography component = "div" style = { { width : '100%' } } >
140- < Grid component = "label" className = { classes . switcherCont } container spacing = { 1 } >
141- < Grid item >
140+ < Grid
141+ component = "label"
142+ className = { classes . switcherCont }
143+ container
144+ spacing = { 1 }
145+ alignItems = "center"
146+ wrap = "wrap" >
147+ < Grid item xs >
142148 < strong style = { { fontSize : '17px' } } > { props . settings . DisplayName } </ strong > ({ props . settings . Name } )
143149 </ Grid >
144- < Grid item >
150+ < Grid item style = { { marginLeft : 'auto' } } >
145151 < Switch data-test = "edit-switch" size = "medium" checked = { value } onChange = { handleChange } />
146152 </ Grid >
147153 </ Grid >
You can’t perform that action at this time.
0 commit comments