mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Make table link cells fill the cell and fix focus colour
Stretch the navigation link over the whole table cell (a position:relative cell with an ::after overlay) so the entire name cell - and the Instances Assigned Host cell - is clickable and right-click "open in new tab"-able, not just the text. Also force color:inherit on the sidebar and account links so the focus left behind by a middle-click no longer shows them blue. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f04fc68513
commit
448eb9223d
9 files changed
+24
-2
No files matched your search
@@ -84,6 +84,7 @@ export default function UsersTable({ instanceId, onlyOnline = false, pagination,
|
||||
{
|
||||
title: "Name",
|
||||
key: "name",
|
||||
className: "table-link-cell",
|
||||
render: (_: any, user: lib.UserDetails) => (
|
||||
<Link to={`/users/${user.name}/view`} style={{ color: "inherit" }}>
|
||||
<Username user={user} withStatus />
|
||||
|
||||
Reference in new issue
Block a user