From 5cedd5a72096565269106ff3f85b44506fda0447 Mon Sep 17 00:00:00 2001
From: rem
Date: Tue, 18 Jun 2024 06:02:01 +0200
Subject: [PATCH] ui for language change + translate
---
src/app/app.component.css | 6 +++++-
src/app/app.component.html | 6 +++---
src/app/components/recipe-form/recipe-form.component.html | 6 +++---
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/app/app.component.css b/src/app/app.component.css
index 181b869..43449f8 100644
--- a/src/app/app.component.css
+++ b/src/app/app.component.css
@@ -10,6 +10,8 @@ nav {
padding: 0;
li {
+ display: flex;
+ align-items: center;
list-style: none;
a {
@@ -21,7 +23,9 @@ nav {
}
select {
- border: 2px solid black;
+ font-size: 2rem;
+ appearance: none;
+ border: none;
background-color: white;
}
}
diff --git a/src/app/app.component.html b/src/app/app.component.html
index 67b7793..a1018f2 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -4,9 +4,9 @@
{{ 'recipe.add.link' |
transloco }}
diff --git a/src/app/components/recipe-form/recipe-form.component.html b/src/app/components/recipe-form/recipe-form.component.html
index b51c9a3..9906ef3 100644
--- a/src/app/components/recipe-form/recipe-form.component.html
+++ b/src/app/components/recipe-form/recipe-form.component.html
@@ -17,15 +17,15 @@
Image
-
+
-
Ingredients
+
{{ 'recipe.ingredients' | transloco }}
- Ingredient
+ {{ 'recipe.ingredients' | transloco }}
@for (ingredient of ingredientsOptions; track ingredient) {
{{ ingredient }}