From 26c15b7d0842fef29a09343c4f7defc02110b9ca Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 23 Feb 2024 09:15:01 -0500 Subject: [PATCH] fix pager position --- devblog/devblog/client/src/components/pager.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/devblog/devblog/client/src/components/pager.rs b/devblog/devblog/client/src/components/pager.rs index bf78c17..7d02dd1 100644 --- a/devblog/devblog/client/src/components/pager.rs +++ b/devblog/devblog/client/src/components/pager.rs @@ -30,16 +30,12 @@ pub fn pager(props: &Props) -> Html {
// PAGE LEFT - if props.page_num > 1 { - - } + 1 {"arrow-visible"} else {"arrow-hidden"}} onclick={page(-1)}> {props.page_num} // PAGE RIGHT - if props.page_num < props.total_pages { - - } +
}