From c4c4151f7d7a6aa18b354ae45c6ed93570d5de77 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 17 Dec 2022 02:58:57 +0100 Subject: Fix margin and alignment in dashboard repolist (#22120) Seems this has recently regressed, previously, there was a significant whitespace between icon and text, but it seems to be gone, so I added the margin and also vertically aligned the icon because it was slightly misaligned. Before: Screenshot 2022-12-13 at 20 03 51 After: image Co-authored-by: KN4CK3R --- web_src/less/_dashboard.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'web_src') diff --git a/web_src/less/_dashboard.less b/web_src/less/_dashboard.less index 4ba0788af1..4af55f2d2d 100644 --- a/web_src/less/_dashboard.less +++ b/web_src/less/_dashboard.less @@ -188,7 +188,11 @@ } .repo-owner-name-list .item-name { - max-width: 70%; + min-width: 0; + } + + .repo-owner-name-list .item-name svg { + min-width: 16px; } } } -- cgit v1.2.3