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 <hemthegentlmen@gmail.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
Hem Bahadur Pun
2023-08-24 11:20:48 +01:00
committed by GitHub
co-authored by Hem Pun Udit Takkar
parent 3e63c2b717
commit 95f4b89fe8
@@ -107,7 +107,7 @@ export default function ApiKeyDialogForm({
: `${t("expires")} ${apiKeyDetails?.expiresAt?.toLocaleDateString()}`}
</span>
</div>
<DialogFooter showDivider className="!mt-12">
<DialogFooter showDivider className="relative">
<Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}>
{t("done")}
</Button>
@@ -209,7 +209,7 @@ export default function ApiKeyDialogForm({
</div>
)}
<DialogFooter showDivider className="!mt-12">
<DialogFooter showDivider className="relative">
<Button type="button" color="secondary" onClick={handleClose} tabIndex={-1}>
{t("cancel")}
</Button>