From 65f5d1557d84cf98a11c0dc306bf6d36b946a536 Mon Sep 17 00:00:00 2001 From: mesellings Date: Mon, 2 Sep 2024 13:40:11 +0100 Subject: [PATCH 1/2] Move card padding from ahref to text div --- src/pages/styles.module.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css index 939d9b83a88..8b25394df41 100644 --- a/src/pages/styles.module.css +++ b/src/pages/styles.module.css @@ -53,7 +53,7 @@ } .featuresSection { - padding: 0 2rem; + padding: 0; } .featuresImage { @@ -64,8 +64,10 @@ .featuresTitle { line-height: 1.4; font-size: 24px; + padding: 0 2rem; } .featuresDescription { line-height: 1.4; + padding: 0 2rem; } From 5dfd35b5c95d38f0e5878ee5423a70f43bcef6f9 Mon Sep 17 00:00:00 2001 From: mesellings Date: Mon, 2 Sep 2024 14:04:41 +0100 Subject: [PATCH 2/2] Add class and height to Link --- src/pages/index.js | 6 +++++- src/pages/styles.module.css | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/index.js b/src/pages/index.js index 0e0c58b4dd3..472a88d59ed 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -61,7 +61,11 @@ function Feature({ imageUrl, url, title, description }) { styles.featuresSection )} > - + {imgUrl && (
{title} diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css index 8b25394df41..0edc1e9ca27 100644 --- a/src/pages/styles.module.css +++ b/src/pages/styles.module.css @@ -71,3 +71,8 @@ line-height: 1.4; padding: 0 2rem; } + +.featuresLink { + height: 250px; + padding-top: 1rem; +}