From 5464135c3b2ba1c7f3cd402ff74c091e78e28827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Fri, 29 Jul 2022 22:55:03 +0200 Subject: [PATCH] Make Postcard country column slightly bigger Better for Netherlands or long country names --- src/style/organisms/_postcard.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/style/organisms/_postcard.scss b/src/style/organisms/_postcard.scss index 6c219aa..30aa817 100644 --- a/src/style/organisms/_postcard.scss +++ b/src/style/organisms/_postcard.scss @@ -1,9 +1,8 @@ .postcard { --gap: clamp(8px, 0.7vw, 20px); display: grid; - grid-template-columns: min(140px, 40%) 1fr; + grid-template-columns: min(144px, 45%) auto; align-items: baseline; - height: 100%; width: 100%; height: 100%; max-width: 333px; @@ -25,10 +24,10 @@ } &__right { position: relative; - margin-top: auto; - height: 100%; display: flex; align-items: flex-end; + height: 100%; + margin-top: auto; } // Country Title