Skip to content

Commit 929e3a6

Browse files
fix(ui): adjust layout and z-index for improved UI consistency in KvmIdRoute (#345)
1 parent 101032b commit 929e3a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/src/routes/devices.$id.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ export default function KvmIdRoute() {
785785
<button className="absolute top-0" tabIndex={-1} id="videoFocusTrap" />
786786
</div>
787787
</FocusTrap>
788+
788789
<div className="grid h-full select-none grid-rows-headerBody">
789790
<DashboardNavbar
790791
primaryLinks={isOnDevice ? [] : [{ title: "Cloud Devices", to: "/devices" }]}
@@ -795,7 +796,7 @@ export default function KvmIdRoute() {
795796
kvmName={deviceName || "JetKVM Device"}
796797
/>
797798

798-
<div className="relative z-50 flex h-full w-full overflow-hidden">
799+
<div className="relative flex h-full w-full overflow-hidden">
799800
<WebRTCVideo />
800801
<div
801802
style={{ animationDuration: "500ms" }}
@@ -811,7 +812,7 @@ export default function KvmIdRoute() {
811812
</div>
812813

813814
<div
814-
className="isolate"
815+
className="z-50"
815816
onKeyUp={e => e.stopPropagation()}
816817
onKeyDown={e => {
817818
e.stopPropagation();

0 commit comments

Comments
 (0)