From 7fb539677b448a9cc554e71afb98da558f3e0631 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 22 Jun 2023 13:05:22 +0200 Subject: Diff page enhancements (#25398) Two small tweaks: 1. Vertically center arrow here when editing a PR: Screenshot 2023-06-20 at 19 48 49 2. Use 2-row layout on diff viewed status and show it again on mobile: Screenshot 2023-06-20 at 19 51 21 Mobile view: Screenshot 2023-06-20 at 19 44 40 --- web_src/css/repo.css | 1 - web_src/css/review.css | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'web_src') 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; } -- cgit v1.2.3