changed horizontal line structure which means that no unnecessary line is displayed if the delete button is missing

This commit is contained in:
Florian Scholdei
2019-04-04 16:56:35 +02:00
parent dcf6dfffcf
commit 6e9af40b44
3 changed files with 2 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ class RepositoryConfig extends React.Component<Props, State> {
if (!(loadingBranches || loadingDefaultBranch)) { if (!(loadingBranches || loadingDefaultBranch)) {
return ( return (
<> <>
<hr />
<Subtitle subtitle={t("scm-git-plugin.repo-config.title")}/> <Subtitle subtitle={t("scm-git-plugin.repo-config.title")}/>
{this.renderBranchChangedNotification()} {this.renderBranchChangedNotification()}
<form onSubmit={this.submit}> <form onSubmit={this.submit}>
@@ -133,7 +134,6 @@ class RepositoryConfig extends React.Component<Props, State> {
/> />
{ submitButton } { submitButton }
</form> </form>
<hr />
</> </>
); );
} else { } else {

View File

@@ -74,6 +74,7 @@ class DeleteRepo extends React.Component<Props> {
return ( return (
<> <>
<hr />
<Subtitle subtitle={t("deleteRepo.subtitle")} /> <Subtitle subtitle={t("deleteRepo.subtitle")} />
<ErrorNotification error={error} /> <ErrorNotification error={error} />
<div className="columns"> <div className="columns">

View File

@@ -70,7 +70,6 @@ class EditRepo extends React.Component<Props> {
this.props.modifyRepo(repo, this.repoModified); this.props.modifyRepo(repo, this.repoModified);
}} }}
/> />
<hr />
<ExtensionPoint <ExtensionPoint
name="repo-config.route" name="repo-config.route"
props={extensionProps} props={extensionProps}