1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

[FIX] resolve confusing colors in languages stats by insert a gap (#27704)

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">
This commit is contained in:
MrDevil 2023-10-21 01:33:05 +08:00 committed by GitHub
parent 4539a7b0b4
commit 510d07506e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2051,6 +2051,7 @@
.repository .repository-summary .segment.language-stats {
display: flex;
gap: 2px;
padding: 0;
height: 10px;
white-space: nowrap;