From af66381f5f354afd6a9d9b44196292af2755be28 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Sat, 11 May 2024 15:23:49 -0400 Subject: [PATCH] Implement dashboard row sideways scrolling --- src/components/dashboard_row.rs | 61 +++++++++++++++++++++++++++++++-- style/dashboard_row.scss | 31 +++++++++++++++++ 2 files changed, 90 insertions(+), 2 deletions(-) diff --git a/src/components/dashboard_row.rs b/src/components/dashboard_row.rs index 2917b86..4134161 100644 --- a/src/components/dashboard_row.rs +++ b/src/components/dashboard_row.rs @@ -1,7 +1,9 @@ +use leptos::html::Ul; use leptos::leptos_dom::*; use leptos::*; use serde::{Deserialize, Serialize}; use crate::components::dashboard_tile::DashboardTile; +use leptos_icons::*; /// A row of dashboard tiles, with a title #[derive(Serialize, Deserialize)] @@ -21,10 +23,65 @@ impl DashboardRow { impl IntoView for DashboardRow { fn into_view(self) -> View { + let list_ref = create_node_ref::