Skip to content

Commit 993178b

Browse files
GiteaBotRightFS
andauthored
[FIX] resolve confusing colors in languages stats by insert a gap (#27704) (#27715)
Backport #27704 by @RightFS The current language stats are too obsessed with color matching. Similar colors are always next to each other. It is a bit troublesome to find the place where the color matching is generated, so just follow the example of github and add a gap. ## before <img width="883" alt="image" src="https://github.com/go-gitea/gitea/assets/12915306/cf54430c-616c-4b37-b561-5a37c20b2d94"> ## after <img width="877" alt="image" src="https://github.com/go-gitea/gitea/assets/12915306/e518ea36-2b8f-4f11-a867-a58dc393db85"> Co-authored-by: MrDevil <[email protected]>
1 parent 345d70f commit 993178b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/css/repo.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,6 +2051,7 @@
20512051

20522052
.repository .repository-summary .segment.language-stats {
20532053
display: flex;
2054+
gap: 2px;
20542055
padding: 0;
20552056
height: 10px;
20562057
white-space: nowrap;

0 commit comments

Comments
 (0)