style(groups): align card footers and keep role badges intact

Give long names two lines, show the current role in its own non-wrapping row, and anchor every card footer to the grid-row bottom regardless of optional source metadata.
This commit is contained in:
翅膀 committed 2026-10-17 09:49:26 +08:00
1 parent 084acee7dd
commit 0b8c7c368d
2 files changed
+35 -12

No files matched your search

+4 -2
View File
@@ -84,7 +84,6 @@ const en: Dict = {
"role.owner": "Owner",
"role.admin": "Admin",
"role.viewer": "Viewer",
"role.badge": "You: {role}",
"roles.owner": "Owner",
"roles.admin": "Admin",
"roles.viewer": "Viewer",
@@ -136,9 +135,11 @@ const en: Dict = {
"groups.admins": "ADMINS",
"groups.owners": "OWNERS",
"groups.members": "MEMBERS",
"groups.myRole": "MY ROLE",
"groups.any": "any",
"groups.open": "Open",
"group.back": "Groups",
"groups.delete": "Delete group",
"group.routesIn": "Routes in {name}",
"routes.emptyGroup": "No routes in this group yet.",
"routes.createFirst": "Create your first route",
@@ -522,7 +523,6 @@ const zh: Dict = {
"role.owner": "拥有者",
"role.admin": "管理员",
"role.viewer": "只读",
"role.badge": "我的角色:{role}",
"roles.owner": "拥有者",
"roles.admin": "管理员",
"roles.viewer": "只读",
@@ -572,9 +572,11 @@ const zh: Dict = {
"groups.admins": "管理员",
"groups.owners": "来源",
"groups.members": "成员",
"groups.myRole": "我的角色",
"groups.any": "任意",
"groups.open": "进入",
"group.back": "返回分组",
"groups.delete": "删除分组",
"group.routesIn": "{name} 的路由",
"routes.emptyGroup": "该分组还没有路由。",
"routes.createFirst": "创建第一个路由",