fix: make the ssh button look nicer

This commit is contained in:
Aarnav Tale
2026-04-07 00:35:05 -04:00
parent 98e0806e5a
commit d255098128
+2 -5
View File
@@ -120,15 +120,12 @@ export default function MachineMenu({
) : ( ) : (
<Button <Button
className={cn( className={cn(
"py-0.5", "py-0.5 rounded-lg",
"opacity-0 pointer-events-none group-hover:opacity-100", "opacity-0 pointer-events-none group-hover:opacity-100",
"group-hover:pointer-events-auto", "group-hover:pointer-events-auto",
)} )}
variant="ghost" variant="light"
onClick={() => { onClick={() => {
// We need to use JS to open the SSH URL
// in a new WINDOW since href can only
// do a new TAB.
window.open( window.open(
`${__PREFIX__}/ssh?hostname=${node.givenName}`, `${__PREFIX__}/ssh?hostname=${node.givenName}`,
"_blank", "_blank",