web: improve checkbox style on desktop

This commit is contained in:
Bill Thiede 2024-02-20 20:20:50 -08:00
parent b33a252698
commit cda99fc7a5

View File

@ -129,12 +129,12 @@ fn view_search_results(
tr![ tr![
IF!(unread_idx.is_some() => C!["unread"]), IF!(unread_idx.is_some() => C!["unread"]),
td![label![ td![label![
C!["checkbox"], C!["b-checkbox", "checkbox"],
input![ input![attrs! {
attrs! {
At::Type=>"checkbox", At::Type=>"checkbox",
At::Checked=>selected_threads.contains(&tid).as_at_value(), At::Checked=>selected_threads.contains(&tid).as_at_value(),
}, }],
span![C!["check"]],
ev(Ev::Input, move |e| { ev(Ev::Input, move |e| {
if let Some(input) = e if let Some(input) = e
.target() .target()
@ -151,7 +151,6 @@ fn view_search_results(
Msg::Noop Msg::Noop
} }
}), }),
]
]], ]],
td![ td![
C!["from"], C!["from"],