1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Use pseudo-link mixin

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-08-27 15:30:39 +03:00
parent 5a55ab02da
commit 5385296ddd
2 changed files with 6 additions and 2 deletions

View File

@ -66,6 +66,10 @@
word-break: break-word; word-break: break-word;
color: var(--textColorSecondary); color: var(--textColorSecondary);
} }
.link {
@include pseudo-link;
}
} }
} }
} }

View File

@ -36,9 +36,9 @@ export class Status extends React.Component<Props> {
</TableRow> </TableRow>
); );
})} })}
<TableRow key="kubeconfig"> <TableRow>
<TableCell>Kubeconfig</TableCell> <TableCell>Kubeconfig</TableCell>
<TableCell className="value" onClick={this.openKubeconfig}><a>{cluster.kubeConfigPath}</a></TableCell> <TableCell className="link value" onClick={this.openKubeconfig}>{cluster.kubeConfigPath}</TableCell>
</TableRow> </TableRow>
</Table> </Table>
); );