From cde74394d79233f5697bfac1176b398d8bf2cf3f Mon Sep 17 00:00:00 2001 From: arookieofc <2128194521@qq.com> Date: Sun, 1 Nov 2026 05:19:57 +0800 Subject: [PATCH] fix(welcome): space the landing actions evenly (#612) The landing's three actions were flex items that hugged their labels, so the gap between icons followed the text length. They are now equal-width grid columns, which spaces the icons evenly in every locale. Co-authored-by: a-rookie-of-C-language <186315048+a-rookie-of-C-language@users.noreply.github.com> --- src/features/welcome/Welcome.module.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/features/welcome/Welcome.module.css b/src/features/welcome/Welcome.module.css index 0daaacdc..da2a3032 100644 --- a/src/features/welcome/Welcome.module.css +++ b/src/features/welcome/Welcome.module.css @@ -335,8 +335,12 @@ color: var(--fg-muted); line-height: 20px; } +/* Equal columns (as wide as the longest label) keep the icon spacing uniform + regardless of each label's length. */ .landingActions { - display: flex; + display: grid; + grid-auto-flow: column; + grid-auto-columns: 1fr; gap: 24px; margin-top: 16px; }