diff --git a/templates/repo/settings/githooks.tmpl b/templates/repo/settings/githooks.tmpl
index 893f52f188..9fa396c8d5 100644
--- a/templates/repo/settings/githooks.tmpl
+++ b/templates/repo/settings/githooks.tmpl
@@ -13,10 +13,10 @@
{{.locale.Tr "repo.settings.githooks_desc" | Str2html}}
{{range .Hooks}}
-
- {{if eq .LastStatus 1}}
-
{{svg "octicon-check"}}
- {{else if eq .LastStatus 2}}
-
{{svg "octicon-alert"}}
- {{else}}
-
{{svg "octicon-dot-fill"}}
- {{end}}
+
{{svg "octicon-dot-fill" 22}}
{{.URL}}
{{svg "octicon-pencil"}}
{{svg "octicon-trash"}}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 85cb842b72..d0c1e7cce5 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2612,12 +2612,18 @@
}
}
+ &.webhooks .list > .item:not(:first-child),
+ &.githooks .list > .item:not(:first-child) {
+ padding: .25rem 1rem;
+ margin: 12px -1rem -1rem;
+ }
+
.list {
> .item {
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
- padding: .25rem 1rem;
- margin: 12px -1rem -1rem;
+ padding: 1rem;
+ margin: 16px -1rem -1rem;
}
> .svg {