Skip to content

Commit cca1a57

Browse files
committed
Fix webhook list styling
1 parent b8c58ed commit cca1a57

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

templates/repo/settings/webhook/list.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
<div class="item">
4242
{{.Description | Str2html}}
4343
</div>
44-
<div class="ui divider"></div>
4544
{{range .Webhooks}}
46-
<div class="item p-2">
45+
<div class="item">
4746
{{if eq .LastStatus 1}}
4847
<span class="text green">{{svg "octicon-check"}}</span>
4948
{{else if eq .LastStatus 2}}

web_src/less/_admin.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
.admin {
2+
&.hooks .list {
3+
> .item {
4+
&:not(:first-child) {
5+
border-top: 1px solid var(--color-secondary);
6+
padding: 1rem;
7+
margin: 15px -1rem -1rem;
8+
}
9+
}
10+
}
11+
212
.table.segment {
313
padding: 0;
414
font-size: 13px;

0 commit comments

Comments
 (0)