Diff page enhancements (#25398) (#25437)

Backport #25398 by @silverwind

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="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="3046e782-163c-4f87-910c-a22066de8f1b">

Mobile view:

<img width="370" alt="Screenshot 2023-06-20 at 19 44 40"
src="9cf56347-7323-4d05-99a5-17ad215ee44d">

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Giteabot 2023-06-22 08:33:13 -04:00 committed by GitHub
parent f18b8e7d8a
commit 056829749e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

View file

@ -1559,7 +1559,6 @@
.repository .diff-detail-box {
padding: 7px 0;
background: var(--color-body);
line-height: 30px;
}
@media (max-width: 991.98px) {