fix(ui): hide kbd hints on non-desktop

This commit is contained in:
Shantur Rathore
2026-02-13 10:02:15 +00:00
parent 3678214e69
commit 36baac06b8
2 changed files with 9 additions and 8 deletions

View File

@@ -118,14 +118,11 @@ const SessionSidebar: Component<SessionSidebarProps> = (props) => (
</Show>
</div>
</div>
<Show when={props.keyboardShortcuts().length}>
<KeyboardHint
class="session-sidebar-shortcuts"
shortcuts={props.keyboardShortcuts()}
separator=" "
showDescription={false}
/>
</Show>
<div class="session-sidebar-shortcuts">
<Show when={props.keyboardShortcuts().length}>
<KeyboardHint shortcuts={props.keyboardShortcuts()} separator=" " showDescription={false} />
</Show>
</div>
</div>
<div class="session-sidebar flex flex-col flex-1 min-h-0">