aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorMrDevil <Right.Sun@outlook.com>2023-10-21 01:33:05 +0800
committerGitHub <noreply@github.com>2023-10-20 17:33:05 +0000
commit510d07506e43d1ee1903a676cb0bb305bfbc306f (patch)
tree6f1d86167b2dfd403c5b692067c44b9b1118ea1e /web_src/css
parent4539a7b0b4fc6539d67ab386eaac4b9aea82bf53 (diff)
downloadgitea-510d07506e43d1ee1903a676cb0bb305bfbc306f.tar.gz
gitea-510d07506e43d1ee1903a676cb0bb305bfbc306f.zip
[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">
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/repo.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index ae7f6bb379..c3e230f8e1 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -2051,6 +2051,7 @@
.repository .repository-summary .segment.language-stats {
display: flex;
+ gap: 2px;
padding: 0;
height: 10px;
white-space: nowrap;