aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-06-22 13:05:22 +0200
committerGitHub <noreply@github.com>2023-06-22 11:05:22 +0000
commit7fb539677b448a9cc554e71afb98da558f3e0631 (patch)
treeb203e7ed56f328266ebd081942a099728df774d7 /web_src
parentaf094fbb6c066ba2e02b812dc3e5875d46e0db42 (diff)
downloadgitea-7fb539677b448a9cc554e71afb98da558f3e0631.tar.gz
gitea-7fb539677b448a9cc554e71afb98da558f3e0631.zip
Diff page enhancements (#25398)
Two small tweaks: 1. Vertically center arrow here when editing a PR: <img width="405" alt="Screenshot 2023-06-20 at 19 48 49" src="https://github.com/go-gitea/gitea/assets/115237/1d63764d-9fd9-467e-8a8e-9258c06475eb"> 2. Use 2-row layout on diff viewed status and show it again on mobile: <img width="142" alt="Screenshot 2023-06-20 at 19 51 21" src="https://github.com/go-gitea/gitea/assets/115237/3046e782-163c-4f87-910c-a22066de8f1b"> Mobile view: <img width="370" alt="Screenshot 2023-06-20 at 19 44 40" src="https://github.com/go-gitea/gitea/assets/115237/9cf56347-7323-4d05-99a5-17ad215ee44d">
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/repo.css1
-rw-r--r--web_src/css/review.css4
2 files changed, 2 insertions, 3 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index c931604730..6a0083b02e 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -1559,7 +1559,6 @@
.repository .diff-detail-box {
padding: 7px 0;
background: var(--color-body);
- line-height: 30px;
}
@media (max-width: 991.98px) {
diff --git a/web_src/css/review.css b/web_src/css/review.css
index 263f821f38..f82a6e7f37 100644
--- a/web_src/css/review.css
+++ b/web_src/css/review.css
@@ -283,6 +283,6 @@
}
#viewed-files-summary {
- width: 72px;
- height: 10px;
+ width: 100%;
+ height: 8px;
}