From 78885987f0dbd153b7b5eb818a05b361872ce08d Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Mon, 28 Jun 2021 16:41:45 +0200 Subject: [PATCH] small recipe card tweaks --- cookbook/templatetags/custom_tags.py | 2 +- vue/package.json | 2 +- vue/src/components/RecipeCard.vue | 8 ++++---- vue/yarn.lock | 30 +++++----------------------- 4 files changed, 11 insertions(+), 31 deletions(-) diff --git a/cookbook/templatetags/custom_tags.py b/cookbook/templatetags/custom_tags.py index b6d331cd6..a56c7b974 100644 --- a/cookbook/templatetags/custom_tags.py +++ b/cookbook/templatetags/custom_tags.py @@ -64,7 +64,7 @@ def recipe_rating(recipe, user): rating_stars = rating_stars + '' if rating['rating__avg'] % 1 >= 0.5: - rating_stars = rating_stars + '' # noqa: E501 + rating_stars = rating_stars + '' rating_stars += '' diff --git a/vue/package.json b/vue/package.json index 2510c5a22..573af9a72 100644 --- a/vue/package.json +++ b/vue/package.json @@ -40,7 +40,7 @@ "eslint-plugin-vue": "^7.10.0", "typescript": "~4.3.2", "vue-cli-plugin-i18n": "^2.1.1", - "webpack-bundle-tracker": "1.0.0", + "webpack-bundle-tracker": "1.1.0", "workbox-expiration": "^6.0.2", "workbox-navigation-preload": "^6.0.2", "workbox-precaching": "^6.0.2", diff --git a/vue/src/components/RecipeCard.vue b/vue/src/components/RecipeCard.vue index 82136f17e..5cdccf149 100644 --- a/vue/src/components/RecipeCard.vue +++ b/vue/src/components/RecipeCard.vue @@ -12,13 +12,13 @@ - -
+ +
-
+
- +