diff --git a/css/body.css b/css/body.css index 53e22ac..e139c68 100644 --- a/css/body.css +++ b/css/body.css @@ -3,7 +3,7 @@ body { } .page-container { - padding-top: 80px; + padding-top: 83px; display: flex; flex-direction: column; justify-content: center; diff --git a/css/navbar.css b/css/navbar.css index 8efe8e4..f3a157d 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -55,7 +55,6 @@ flex-direction: column; justify-content: flex-start; margin-top: 10px; - } .navbar-item { @@ -91,7 +90,7 @@ .navbar-title { color: white; - font-size: 18pt; + font-size: 16pt; font-weight: 100; font-family: 'Gill Sans'; } diff --git a/src/components/project_card.rs b/src/components/project_card.rs index 32e2518..7e51f76 100644 --- a/src/components/project_card.rs +++ b/src/components/project_card.rs @@ -1,5 +1,4 @@ use jl_types::{domain::{media::Media}, dto::project_card::ProjectCardDto}; -use stylist::css; use thousands::Separable; use yew::prelude::*; use yew_router::prelude::use_navigator; @@ -37,7 +36,7 @@ pub fn project_card(props: &ProjectCardProps) -> Html { format!("{price_separated}.00") } }, - None => "N/A".into() + None => "0.00".into() }); let project_condition = props.project.project_condition.to_string(); diff --git a/src/pages/search.rs b/src/pages/search.rs index bcaa9b6..3b4a969 100644 --- a/src/pages/search.rs +++ b/src/pages/search.rs @@ -1,4 +1,4 @@ -use jl_types::{domain::{project_state::ProjectState, project_type::ProjectType, project_condition::ProjectCondition, project::Project}, dto::{filters::Filter, project_card::ProjectCardDto}}; +use jl_types::{domain::{project_state::ProjectState, project_type::ProjectType, project_condition::ProjectCondition}, dto::{filters::Filter, project_card::ProjectCardDto}}; use log::info; use yew::prelude::*; use yew_utils::{components::drop_down::{DropDownProps, DropDown}, vdom::comp_with};