From 5f8b6f79a203dc558a93791fc7b199a142d45768 Mon Sep 17 00:00:00 2001 From: Aliaksandr BUDZKO <abudzko@takima.fr> Date: Mon, 5 Jul 2021 16:10:49 +0200 Subject: [PATCH] fix: align text --- src/js/sections/CloudSection/CloudSection.module.scss | 3 +++ src/js/sections/StatsSection/StatsSection.module.scss | 4 +++- src/js/sections/VscodeSection/VscodeSection.module.scss | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/js/sections/CloudSection/CloudSection.module.scss b/src/js/sections/CloudSection/CloudSection.module.scss index e5a3920..4215895 100644 --- a/src/js/sections/CloudSection/CloudSection.module.scss +++ b/src/js/sections/CloudSection/CloudSection.module.scss @@ -30,10 +30,13 @@ .BottomBlock { padding-top: 5%; font-size: 2rem; + max-width: 30%; .Caption { padding-top: 10px; font-size: 1.5rem; + max-width: 60%; + } } } \ No newline at end of file diff --git a/src/js/sections/StatsSection/StatsSection.module.scss b/src/js/sections/StatsSection/StatsSection.module.scss index 9a6ef58..cb529d4 100644 --- a/src/js/sections/StatsSection/StatsSection.module.scss +++ b/src/js/sections/StatsSection/StatsSection.module.scss @@ -17,9 +17,11 @@ font-weight: $primary_font_weight; font-family: $primary_font; padding-top: 25%; - padding-left: 10%; + padding-left: 20%; vertical-align: middle; line-height: 4em; + text-align: left; + max-width: 80%; .Title { diff --git a/src/js/sections/VscodeSection/VscodeSection.module.scss b/src/js/sections/VscodeSection/VscodeSection.module.scss index 4c2f9bc..aa7fe19 100644 --- a/src/js/sections/VscodeSection/VscodeSection.module.scss +++ b/src/js/sections/VscodeSection/VscodeSection.module.scss @@ -24,12 +24,11 @@ font-family: $primary_font; padding-top: 35%; padding-right: 30%; - text-align: center; + text-align: left; vertical-align: middle; line-height: 4em; .Title { - font-size: 3rem; } -- GitLab