Skip to content

Commit

Permalink
Add gap between diff boxes (#27776) (#27781)
Browse files Browse the repository at this point in the history
Backport #27776 by @silverwind

Before (almost no gap between files):
<img width="1240" alt="Screenshot 2023-10-24 at 19 43 32"
src="https://github.com/go-gitea/gitea/assets/115237/30cdbdbc-d102-479c-89ce-3f68837ae0cd">

After (with 8px gap):
<img width="1241" alt="Screenshot 2023-10-24 at 19 43 22"
src="https://github.com/go-gitea/gitea/assets/115237/72b26a30-8730-4a36-8de9-be143b684b98">

Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
GiteaBot and silverwind authored Oct 25, 2023
1 parent 77bd3ac commit 9dd8f34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2734,6 +2734,9 @@ tbody.commit-list {
#diff-file-boxes {
flex: 1;
max-width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
}

#diff-file-tree {
Expand Down

0 comments on commit 9dd8f34

Please sign in to comment.