aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-11-22 00:10:42 +0100
committerGitHub <noreply@github.com>2022-11-22 07:10:42 +0800
commit1c7496c7a7e4c3145ab90bbef129dd7c1a0189dd (patch)
tree242eba01c4d37ae37fd3633a48c3b37dcabaa69d /web_src
parent2e5ac53bdcbdc796dc4d1597bdf6d717e211bf24 (diff)
downloadgitea-1c7496c7a7e4c3145ab90bbef129dd7c1a0189dd.tar.gz
gitea-1c7496c7a7e4c3145ab90bbef129dd7c1a0189dd.zip
Webhook list enhancements (#21893)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_admin.less4
-rw-r--r--web_src/less/_base.less6
-rw-r--r--web_src/less/_repository.less4
3 files changed, 10 insertions, 4 deletions
diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less
index b18bc7c5e0..26417d42ee 100644
--- a/web_src/less/_admin.less
+++ b/web_src/less/_admin.less
@@ -3,8 +3,8 @@
> .item {
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
- padding: 1rem;
- margin: 15px -1rem -1rem;
+ padding: .25rem 1rem;
+ margin: 12px -1rem -1rem;
}
}
}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index e49721f7e0..6054331ec4 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -307,6 +307,11 @@ a.muted:hover [class*="color-text"],
color: var(--color-primary);
}
+.delete-button,
+.delete-button:hover {
+ color: var(--color-red);
+}
+
a.label,
.repository-menu a,
.ui.search .results a,
@@ -2571,6 +2576,7 @@ table th[data-sortt-desc] {
.truncated-item-container {
display: flex !important;
+ align-items: center;
}
.ellipsis-button {
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 63f1f954a0..f89a5df33d 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2616,8 +2616,8 @@
> .item {
&:not(:first-child) {
border-top: 1px solid var(--color-secondary);
- padding: 1rem;
- margin: 15px -1rem -1rem;
+ padding: .25rem 1rem;
+ margin: 12px -1rem -1rem;
}
> .svg {