summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2021-01-04 13:18:12 +0100
committerGitHub <noreply@github.com>2021-01-04 13:18:12 +0100
commit21fbee150315f3d07032e89b449674547b6682a3 (patch)
tree04ff1317bad0dba31bd99ae4cff1532289b6306e /web_src
parent4092c044e0ccd0f3b6c9224c34fb7d1265851f4b (diff)
downloadgitea-21fbee150315f3d07032e89b449674547b6682a3.tar.gz
gitea-21fbee150315f3d07032e89b449674547b6682a3.zip
Various UI fixes (#14239)
* Fix #14238 * Fix #14235 * Fix #14237 * Fix #14234 * Use octicon to show private status of repo in admin dashboard * Fix #14232 * Fix #14236
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_base.less5
-rw-r--r--web_src/less/_dashboard.less1
-rw-r--r--web_src/less/_repository.less18
3 files changed, 21 insertions, 3 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 9ae13b8c01..10786b9058 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1556,10 +1556,13 @@ a.ui.label:hover {
.ui.button {
background: var(--color-button);
border: 1px solid var(--color-light-border);
- box-shadow: none !important;
color: var(--color-text);
}
+.page-content .ui.button {
+ box-shadow: none !important;
+}
+
.ui.button:hover {
background: var(--color-hover);
color: var(--color-text);
diff --git a/web_src/less/_dashboard.less b/web_src/less/_dashboard.less
index 1330b04abb..4ffdc9136f 100644
--- a/web_src/less/_dashboard.less
+++ b/web_src/less/_dashboard.less
@@ -111,6 +111,7 @@
.issue.title {
width: 80%;
+ margin: 0 0 1em;
}
.push.news .content ul {
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index b19eec58eb..6c7de75075 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -1475,7 +1475,7 @@
}
}
- .diff-box .header {
+ .diff-box .header:not(.resolved-placeholder) {
display: flex;
align-items: center;
@@ -1493,6 +1493,15 @@
}
}
+ .diff-box .resolved-placeholder {
+ display: flex;
+ align-items: center;
+
+ .button {
+ padding: 8px 12px;
+ }
+ }
+
.diff-file-box {
margin-top: 1rem;
margin-bottom: 1rem;
@@ -2697,7 +2706,12 @@ tbody.commit-list {
.commit-body {
white-space: pre-wrap;
- margin: 0;
+}
+
+.repository:not(.diff) {
+ .commit-body {
+ margin: 0;
+ }
}
.git-notes.top {