From 7f6dfdfee8a64aa24370402eea683a11e496d0a6 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:49:34 +0800 Subject: [PATCH] Add tooltip to delete button --- src/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer.rs b/src/renderer.rs index dfe23e881..54cd3380f 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -503,7 +503,7 @@ fn rm_form(rm_route: &str, encoded_path: &str) -> Markup { let rm_action = format!("{rm_route}?path={encoded_path}"); html! { form class="rm_form" action=(rm_action) method="POST" { - button type="submit" { "✗" } + button type="submit" title="Delete" { "✗" } } } }