Skip to content

Commit

Permalink
Add gap between diff boxes (go-gitea#27776)
Browse files Browse the repository at this point in the history
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">
  • Loading branch information
silverwind authored and fuxiaohei committed Jan 17, 2024
1 parent 4272e14 commit ee023e7
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 ee023e7

Please sign in to comment.