From 719cfafefcf602e3b5e890ddcffed0a77b18e248 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sat, 12 Apr 2025 16:01:20 +0200 Subject: [PATCH] Cleaning --- backend/scss/calendar.scss | 1 - backend/scss/main.scss | 2 +- frontend/src/pages/recipe_edit.rs | 9 +++------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/backend/scss/calendar.scss b/backend/scss/calendar.scss index 65bfa4e..c637a6e 100644 --- a/backend/scss/calendar.scss +++ b/backend/scss/calendar.scss @@ -67,7 +67,6 @@ .remove-scheduled-recipe { padding: 0px calc(consts.$margin / 2); - // font-size: 80%; } } } diff --git a/backend/scss/main.scss b/backend/scss/main.scss index 0fbb7aa..b8398cb 100644 --- a/backend/scss/main.scss +++ b/backend/scss/main.scss @@ -294,7 +294,7 @@ body { position: relative; .tooltiptext { - color: consts.$link-hover-color; + color: consts.$text-color; visibility: hidden; width: 120px; diff --git a/frontend/src/pages/recipe_edit.rs b/frontend/src/pages/recipe_edit.rs index 2d9d82e..721547d 100644 --- a/frontend/src/pages/recipe_edit.rs +++ b/frontend/src/pages/recipe_edit.rs @@ -153,12 +153,9 @@ pub fn setup_page(recipe_id: i64) { // Tags. { spawn_local(async move { - let tags: ron_api::Tags = request::get( - "recipe/tags", - ron_api::Id { id: recipe_id }, /*[("id", &recipe_id.to_string())]*/ - ) - .await - .unwrap(); + let tags: ron_api::Tags = request::get("recipe/tags", ron_api::Id { id: recipe_id }) + .await + .unwrap(); create_tag_elements(recipe_id, &tags.tags); });