From 47f4d2f6f326396cd26315b47b73c483275734ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fede=20=C3=81lvarez?= Date: Sun, 22 May 2022 18:51:40 +0200 Subject: [PATCH] Work on CMS, styles --- src/components/common/card/card.module.scss | 4 ++++ src/lib/cms/queries/home.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/common/card/card.module.scss b/src/components/common/card/card.module.scss index b34c12a..c5fe2a3 100644 --- a/src/components/common/card/card.module.scss +++ b/src/components/common/card/card.module.scss @@ -262,6 +262,10 @@ } .image__container { + @include respond-to('mobile') { + height: unset; + } + margin: tovw(25px, 'default', 16px) 0; border-top: tovw(1px, 'default', 1px) solid var(--color-white); border-bottom: tovw(1px, 'default', 1px) solid var(--color-white); diff --git a/src/lib/cms/queries/home.js b/src/lib/cms/queries/home.js index 4af5bed..db5bf35 100644 --- a/src/lib/cms/queries/home.js +++ b/src/lib/cms/queries/home.js @@ -55,7 +55,7 @@ const HomeOthers = { const Testimonials = { query: ` { - allTestimonials { + allTestimonials (orderBy: [id_ASC]) { id testimonialImage { url