From 510d07506e43d1ee1903a676cb0bb305bfbc306f Mon Sep 17 00:00:00 2001 From: MrDevil Date: Sat, 21 Oct 2023 01:33:05 +0800 Subject: [PATCH] [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 image ## after image --- web_src/css/repo.css | 1 + 1 file changed, 1 insertion(+) 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;