File tree Expand file tree Collapse file tree 3 files changed +16
-15
lines changed
sdks/js/packages/core/react/components/organization/api-keys Expand file tree Collapse file tree 3 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ function ServiceAccountDeleteAction({ id }: { id: string }) {
6868 < Button
6969 variant = "text"
7070 size = "small"
71+ color = "danger"
7172 data-test-id = "frontier-sdk-delete-service-account-btn"
7273 onClick = { onDeleteClick }
7374 >
Original file line number Diff line number Diff line change @@ -61,23 +61,23 @@ export default function AddServiceUserToken({
6161 return (
6262 < form onSubmit = { handleSubmit ( onSubmit ) } >
6363 < Flex gap = { 3 } >
64- < Flex className = { styles . addKeyInputWrapper } direction = "column" >
64+ < Flex className = { styles . addKeyInputWrapper } gap = { 3 } >
6565 < InputField
6666 { ...register ( 'title' ) }
6767 size = "large"
6868 placeholder = "Provide service key name"
6969 error = { errors . title && String ( errors . title ?. message ) }
7070 />
71+ < Button
72+ data-test-id = "frontier-sdk-api-keys-new-token-btn"
73+ type = "submit"
74+ loading = { isSubmitting }
75+ disabled = { isSubmitting }
76+ loaderText = "Generating..."
77+ >
78+ Generate new key
79+ </ Button >
7180 </ Flex >
72- < Button
73- data-test-id = "frontier-sdk-api-keys-new-token-btn"
74- type = "submit"
75- loading = { isSubmitting }
76- disabled = { isSubmitting }
77- loaderText = "Generating..."
78- >
79- Generate new key
80- </ Button >
8181 </ Flex >
8282 </ form >
8383 ) ;
Original file line number Diff line number Diff line change 2020.serviceKeyItem {
2121 padding : var (--rs-space-5 );
2222 border : 1px solid var (--rs-color-border-base-primary );
23- border-radius : var ();
2423}
2524
2625.serviceKeyItem + .serviceKeyItem {
4746.addKeyInputWrapper {
4847 width : 100% ;
4948 position : relative;
49+ align-items : start;
5050}
5151
5252.addKeyInputError {
7777}
7878
7979.manageProjectDialogWrapper {
80- height : calc (100 % - var (--rs-space-9 ) - var ( --rs-space-9 ));
81- overflow : hidden ;
80+ max- height: calc (80 vh - var (--rs-space-17 ));
81+ overflow : auto ;
8282}
8383
8484.manageProjectDialogContent {
85- height : 70 % ;
85+ height : 80 vh ;
8686 width : 70% ;
8787 padding : 0 ;
8888}
8989
9090.tableRoot {
9191 height : 100% ;
92- overflow-y : auto;
92+ overflow : auto;
9393}
You can’t perform that action at this time.
0 commit comments