aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_repository.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-11-24 07:43:07 +0100
committerGitHub <noreply@github.com>2022-11-24 00:43:07 -0600
commitb97548a2eea26d11e774d69f6829ed38dc95f502 (patch)
treea2683af2a244dedff6a7e8e81690a3f22da02e1f /web_src/less/_repository.less
parent09b7d8198c8df16691b2c6d4b9776b24723954e7 (diff)
downloadgitea-b97548a2eea26d11e774d69f6829ed38dc95f502.tar.gz
gitea-b97548a2eea26d11e774d69f6829ed38dc95f502.zip
Fix table misalignments and tweak webhook and githook lists (#21917)
- Fix regression from #21893 which had misaligned a few tables like repo lists and e-mails - Bring githooks list in line with webhooks list for styling - Change webhook list icons to just colored dots, like githook list - Increase size of dot in webhook and githook list from 16 to 22px
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r--web_src/less/_repository.less10
1 files changed, 8 insertions, 2 deletions
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 {