From c2c12c3236000532c8208356b1ae23a70bc5dcb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karlo=20Miku=C5=A1?= Date: Sun, 15 Dec 2024 13:28:32 +0100 Subject: [PATCH] Update chips design --- src/assets/chips.css | 8 ++++---- src/components/Cocktail/CocktailDetails.vue | 10 +++++----- src/components/Ingredient/IngredientDetails.vue | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/assets/chips.css b/src/assets/chips.css index 82225886..d61af3ca 100644 --- a/src/assets/chips.css +++ b/src/assets/chips.css @@ -1,13 +1,13 @@ .item-details__chips { display: flex; flex-wrap: wrap; - gap: 0.25rem; + gap: var(--gap-size-2); margin-bottom: 1rem; } .item-details__chips__group__title { - font-size: 0.7rem; - margin-bottom: 0.2rem; + font-size: 0.65rem; + margin-bottom: -2px; color: var(--clr-gray-600); } @@ -25,7 +25,7 @@ margin: 0; display: flex; flex-wrap: wrap; - gap: 0.25rem; + gap: var(--gap-size-2); } .chip { diff --git a/src/components/Cocktail/CocktailDetails.vue b/src/components/Cocktail/CocktailDetails.vue index 637c8850..9293e089 100644 --- a/src/components/Cocktail/CocktailDetails.vue +++ b/src/components/Cocktail/CocktailDetails.vue @@ -543,7 +543,7 @@ fetchShoppingList()
{{ t('tag.tags') }}:
@@ -551,7 +551,7 @@ fetchShoppingList()
{{ t('glass-type.title') }}:
@@ -559,7 +559,7 @@ fetchShoppingList()
{{ t('method.title') }}:
@@ -567,7 +567,7 @@ fetchShoppingList()
{{ t('ABV') }}:
@@ -575,7 +575,7 @@ fetchShoppingList()
{{ t('avg-rating') }}:
diff --git a/src/components/Ingredient/IngredientDetails.vue b/src/components/Ingredient/IngredientDetails.vue index 40b25b1e..a6524b29 100644 --- a/src/components/Ingredient/IngredientDetails.vue +++ b/src/components/Ingredient/IngredientDetails.vue @@ -26,7 +26,7 @@ import UnitHandler from '../../UnitHandler.js'

{{ $t('see-also') }}

@@ -34,7 +34,7 @@ import UnitHandler from '../../UnitHandler.js'

{{ $t('ingredient.used_as_substitute_for') }}