fix: #10783 (UI updated on API Creation Form ) (#10786)

* Fix #10783

* Update the changes #10783

* Updated the changes on the another dialog footer

* Updated the changes

---------

Co-authored-by: Hem Pun <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-08-24 11:20:48 +01:00
1 parent 3e63c2b717
commit 95f4b89fe8
1 file changed
+2 -2
@@ -107,7 +107,7 @@ export default function ApiKeyDialogForm({
: `${t("expires")} ${apiKeyDetails?.expiresAt?.toLocaleDateString()}`} : `${t("expires")} ${apiKeyDetails?.expiresAt?.toLocaleDateString()}`}
</span> </span>
</div> </div>
<DialogFooter showDivider className="!mt-12"> <DialogFooter showDivider className="relative">
<Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}> <Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}>
{t("done")} {t("done")}
</Button> </Button>
@@ -209,7 +209,7 @@ export default function ApiKeyDialogForm({
</div> </div>
)} )}
<DialogFooter showDivider className="!mt-12"> <DialogFooter showDivider className="relative">
<Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}> <Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}>
{t("cancel")} {t("cancel")}
</Button> </Button>