Use nav for nav controls

This commit is contained in:
p11 2025-04-21 10:15:48 +02:00
parent a1f867025b
commit a0d90b628a

View File

@ -28,7 +28,7 @@ fn render_scene(settings: &PlayerSettings, name: &str) -> Markup {
fn navigation_controls(total_scenes: usize) -> Markup { fn navigation_controls(total_scenes: usize) -> Markup {
html! { html! {
div .nav-controls { nav .nav-controls {
button .nav-button onclick="prev()" { "" } button .nav-button onclick="prev()" { "" }
span id="section-counter" { "1/" (total_scenes) } span id="section-counter" { "1/" (total_scenes) }
button .nav-button onclick="next()" { "" } button .nav-button onclick="next()" { "" }