mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
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 <[email protected]>
This commit is contained in:
1 parent
9ca65b4df6
commit
cde74394d7
1 file changed
+5
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user