File tree 1 file changed +8
-3
lines changed
site/src/pages/ManagementSettingsPage/CustomRolesPage 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ const PermissionCheckboxGroup: FC<PermissionCheckboxGroupProps> = ({
346
346
{ resourceKey }
347
347
< ul css = { styles . checkBoxes } >
348
348
{ Object . entries ( value ) . map ( ( [ actionKey , value ] ) => (
349
- < li key = { actionKey } >
349
+ < li key = { actionKey } css = { styles . actionItem } >
350
350
< span css = { styles . actionText } >
351
351
< Checkbox
352
352
size = "small"
@@ -357,8 +357,8 @@ const PermissionCheckboxGroup: FC<PermissionCheckboxGroupProps> = ({
357
357
onChange = { ( e ) => handleActionCheckChange ( e , form ) }
358
358
/>
359
359
{ actionKey }
360
- </ span > { " " }
361
- – < span css = { styles . actionDescription } > { value } </ span >
360
+ </ span >
361
+ < span css = { styles . actionDescription } > { value } </ span >
362
362
</ li >
363
363
) ) }
364
364
</ ul >
@@ -412,7 +412,12 @@ const styles = {
412
412
} ) ,
413
413
actionDescription : ( theme ) => ( {
414
414
color : theme . palette . text . secondary ,
415
+ paddingTop : 6 ,
415
416
} ) ,
417
+ actionItem : {
418
+ display : "grid" ,
419
+ gridTemplateColumns : "270px 3fr" ,
420
+ } ,
416
421
} satisfies Record < string , Interpolation < Theme > > ;
417
422
418
423
export default CreateEditRolePageView ;
You can’t perform that action at this time.
0 commit comments