From 562b8551dc99fc8605fbac7cedc2f85e84ebb4e0 Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Thu, 15 Sep 2022 14:08:51 +0200 Subject: [PATCH] css tweaks for longer texts in spanish --- resources/sass/frontend/_custom.scss | 2 +- resources/sass/frontend/_list.scss | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/sass/frontend/_custom.scss b/resources/sass/frontend/_custom.scss index e3ea71b..d76e524 100644 --- a/resources/sass/frontend/_custom.scss +++ b/resources/sass/frontend/_custom.scss @@ -107,7 +107,7 @@ .item { display: inline-flex; flex-direction: column; - justify-content: center; + justify-content: flex-start; align-items: center; flex: 1; padding: 10px; diff --git a/resources/sass/frontend/_list.scss b/resources/sass/frontend/_list.scss index 056b85b..2ed2a6d 100644 --- a/resources/sass/frontend/_list.scss +++ b/resources/sass/frontend/_list.scss @@ -31,6 +31,8 @@ object-fit: contain; } .product-card { + height: 354px; + margin-right: 20px; .product-card__title, a { position: absolute; @@ -144,8 +146,8 @@ font-size: calc(#{$globalfont} * 3.25); } .product-card { - width: 32%; - max-width: 32%; + width: 30%; + max-width: 30%; } .gamme-card { &:nth-child(n) {