From 0ca6f64ce7480a613a4036ac790748f92869e284 Mon Sep 17 00:00:00 2001 From: Kevin Kandlbinder Date: Wed, 19 May 2021 18:47:05 +0200 Subject: [PATCH] Fix text breaking on home hero --- public/locales/de/translation.json | 2 +- public/locales/en/translation.json | 2 +- src/pages/Home.module.scss | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json index 6228946..ec90b8b 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de/translation.json @@ -8,7 +8,7 @@ }, "home": { "heroPretitle": "Kevins", - "heroTitle": "Datenkasten", + "heroTitle": "Daten\u00ADkasten", "heroSubtitle": "Dein 1-Stopp-Daten-Shop!" }, "tools": { diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 0a4d2f8..83c7891 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -8,7 +8,7 @@ }, "home": { "heroPretitle": "Kevin's", - "heroTitle": "Data-Toolbox", + "heroTitle": "Data Toolbox", "heroSubtitle": "Your One-Stop-Data-Shop!" }, "tools": { diff --git a/src/pages/Home.module.scss b/src/pages/Home.module.scss index 50e9eed..dbab8c2 100644 --- a/src/pages/Home.module.scss +++ b/src/pages/Home.module.scss @@ -20,6 +20,8 @@ color: white; text-shadow: 0 0 10px black, 0 0 10px black; + text-align: center; + &.heroPretitle { font-size: 2em; font-weight: 100;