Skip to content

Commit

Permalink
Make VNC Console in the Overview page to read only
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
  • Loading branch information
rszwajko committed Jan 31, 2025
1 parent c01138f commit 60878d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
margin: 0 !important;
}
}

.console-overview .vnc-container {
canvas {
cursor: auto !important;
}
}

.hide {
display: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const VirtualMachinesOverviewTabDetailsConsole: FC<
verb: 'get',
});
return (
<Bullseye className="bullseye">
<Bullseye className="console-overview">
<div className="link">
<Button
onClick={() =>
Expand All @@ -49,7 +49,7 @@ const VirtualMachinesOverviewTabDetailsConsole: FC<
<>
<VncConsole
CustomConnectComponent={VirtualMachinesOverviewTabDetailsConsoleConnect}
scaleViewport
viewOnly
vmi={vmi}
/>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
height: 70%;
width: 100%;
}
.bullseye {
.console-overview {
flex-direction: column;
justify-content: space-around;
}
Expand Down

0 comments on commit 60878d8

Please sign in to comment.