Cleaning
This commit is contained in:
parent
2fe706c5a9
commit
719cfafefc
3 changed files with 4 additions and 8 deletions
|
|
@ -67,7 +67,6 @@
|
||||||
|
|
||||||
.remove-scheduled-recipe {
|
.remove-scheduled-recipe {
|
||||||
padding: 0px calc(consts.$margin / 2);
|
padding: 0px calc(consts.$margin / 2);
|
||||||
// font-size: 80%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,7 @@ body {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.tooltiptext {
|
.tooltiptext {
|
||||||
color: consts.$link-hover-color;
|
color: consts.$text-color;
|
||||||
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
|
|
|
||||||
|
|
@ -153,12 +153,9 @@ pub fn setup_page(recipe_id: i64) {
|
||||||
// Tags.
|
// Tags.
|
||||||
{
|
{
|
||||||
spawn_local(async move {
|
spawn_local(async move {
|
||||||
let tags: ron_api::Tags = request::get(
|
let tags: ron_api::Tags = request::get("recipe/tags", ron_api::Id { id: recipe_id })
|
||||||
"recipe/tags",
|
.await
|
||||||
ron_api::Id { id: recipe_id }, /*[("id", &recipe_id.to_string())]*/
|
.unwrap();
|
||||||
)
|
|
||||||
.await
|
|
||||||
.unwrap();
|
|
||||||
create_tag_elements(recipe_id, &tags.tags);
|
create_tag_elements(recipe_id, &tags.tags);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue