mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Correct positioning and coloring of button groups in modals (#1612)
This commit is contained in:
@@ -79,7 +79,7 @@ const CreateTagModal: FC<Props> = ({ repository, changeset, onClose }) => {
|
||||
validationError={!!validationError}
|
||||
errorMessage={t(validationError)}
|
||||
/>
|
||||
<div className="mt-6">{t("tags.create.hint")}</div>
|
||||
<div className="mt-5">{t("tags.create.hint")}</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -91,15 +91,15 @@ const CreateTagModal: FC<Props> = ({ repository, changeset, onClose }) => {
|
||||
body={body}
|
||||
footer={
|
||||
<>
|
||||
<Button action={onClose}>{t("tags.create.cancel")}</Button>
|
||||
<Button
|
||||
color="success"
|
||||
color="primary"
|
||||
action={() => create(newTagName)}
|
||||
loading={isLoadingCreate}
|
||||
disabled={isLoading || isLoadingCreate || !!validationError || newTagName.length === 0}
|
||||
>
|
||||
{t("tags.create.confirm")}
|
||||
</Button>
|
||||
<Button action={onClose}>{t("tags.create.cancel")}</Button>
|
||||
</>
|
||||
}
|
||||
closeFunction={onClose}
|
||||
|
||||
Reference in New Issue
Block a user