From 8a3a7927b1d6863ade8f9e024563ce7a8640072e Mon Sep 17 00:00:00 2001 From: benjacanas Date: Wed, 19 Jan 2022 07:32:22 -0300 Subject: [PATCH 1/2] services cards logo fix --- src/components/Cards/Cards.js | 13 +++++++++---- src/components/Cards/Cards.scss | 24 ++++++++++++++++++------ 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/src/components/Cards/Cards.js b/src/components/Cards/Cards.js index c2c860e3..92005e94 100644 --- a/src/components/Cards/Cards.js +++ b/src/components/Cards/Cards.js @@ -36,11 +36,16 @@ const Cards = ({ tech }) => { return ( <>
-
- -
-
{tech.title}
+
+
+ +
+

{tech.title}

+
diff --git a/src/components/Cards/Cards.scss b/src/components/Cards/Cards.scss index 15e98a39..8e12cc6d 100644 --- a/src/components/Cards/Cards.scss +++ b/src/components/Cards/Cards.scss @@ -5,11 +5,6 @@ padding-bottom: 30px; margin-bottom: 30px; } - &__icon { - margin: 0 auto; - max-width: 115px; - transform: translateY(60%); - } &__title { color: $primary; font-weight: $max-bold; @@ -17,6 +12,16 @@ line-height: $large; text-align: center; padding: 90px 5px 29px; + display: flex; + flex-direction: column; + align-items: center; + gap: 50px; + &-logo { + margin: 0 20px; + } + img { + margin: 0 0; + } } &__container { padding-left: 0; @@ -93,7 +98,14 @@ &__title { font-size: $large; text-align: start; - margin-left: 200px; + flex-direction: row; + align-items: flex-end; + &-logo { + margin: 0 50px; + } + img { + margin: 0; + } } &__description { From 2684eb7e51885ed5cf03cc2f258fca3067c8a165 Mon Sep 17 00:00:00 2001 From: benjacanas Date: Wed, 19 Jan 2022 14:18:10 -0300 Subject: [PATCH 2/2] service icon fix --- src/components/ServicesPage/ServicesSection.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/ServicesPage/ServicesSection.scss b/src/components/ServicesPage/ServicesSection.scss index 0909ec67..469227df 100644 --- a/src/components/ServicesPage/ServicesSection.scss +++ b/src/components/ServicesPage/ServicesSection.scss @@ -1,6 +1,5 @@ @import "../../styles/global.scss"; - .servicesSection { background-color: $primary-container; padding-top: 70px; @@ -11,11 +10,10 @@ p { color: $primary; font-size: $small; - } + } } &__icon { - margin: 0 auto; - margin-top: 30px; + margin: 30px auto; width: 100px; } &__title { @@ -38,10 +36,13 @@ p { font-size: $medium; } - } &__title { font-size: $large; } + &__icon { + margin: 30px auto 0; + width: 100px; + } } }