diff --git a/vibn-frontend/components/project/project-icon-rail.tsx b/vibn-frontend/components/project/project-icon-rail.tsx index d2e452b..37364c4 100644 --- a/vibn-frontend/components/project/project-icon-rail.tsx +++ b/vibn-frontend/components/project/project-icon-rail.tsx @@ -243,6 +243,16 @@ function PreviewDeviceToggles() { }} /> + + / +
- + setCurrentPath("/" + e.target.value.replace(/^\//, "")) + } + placeholder="path (e.g. dashboard)" style={{ background: "transparent", border: "none", @@ -265,19 +280,22 @@ function PreviewDeviceToggles() { textOverflow: "ellipsis", fontFamily: "var(--font-mono), monospace", paddingRight: 16, - appearance: "none", - cursor: "pointer", }} - > - - - - - - - - - + onKeyDown={(e) => { + if (e.key === "Enter") { + triggerRefresh(); // force reload iframe + } + }} + /> + +