diff --git a/cbd-web/src/app.rs b/cbd-web/src/app.rs index d9636ee..958d9db 100644 --- a/cbd-web/src/app.rs +++ b/cbd-web/src/app.rs @@ -807,9 +807,30 @@ fn TopBar(store: Store) -> impl IntoView { save_pref("theme", next); apply_theme(next); }; + // What `Tab` does, as a tap target. On a phone the panes stack and only + // the focused one is open, so switching panes has to be reachable without + // a keyboard. It stays on screen at every width, where it doubles as the + // readout of which pane the keys are going to. + let tab = move |target: Focus, label: &'static str| { + view! { + + } + }; view! {
"crabidy" + + {tab(Focus::Library, "library")} + {tab(Focus::Queue, "queue")} +