From 0dc0c53cb55bf9982423ec0c9e575001fa5054ec Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 20 Jun 2024 14:27:46 +0200 Subject: [PATCH] wait #6971 @0:35 --- wp-content/themes/CCV/dist/styles/app.css | 7 ++++++- .../CCV/resources/assets/styles/widgets/link-carousel.styl | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/CCV/dist/styles/app.css b/wp-content/themes/CCV/dist/styles/app.css index 6e76c150..ed8d5f6d 100644 --- a/wp-content/themes/CCV/dist/styles/app.css +++ b/wp-content/themes/CCV/dist/styles/app.css @@ -3160,11 +3160,16 @@ h4, padding: 2.5em 1em 1em; } +.link-carousel-item-image img { + width: 50%; + margin: 0 auto; +} + .link-carousel-item-title { display: flex; flex-grow: 0; flex-shrink: 0; - height: 4em; + height: auto; width: 100%; justify-content: center; align-items: center; diff --git a/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl b/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl index 7be19ac0..f83993b2 100644 --- a/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl +++ b/wp-content/themes/CCV/resources/assets/styles/widgets/link-carousel.styl @@ -14,11 +14,15 @@ flex-grow: 1 padding: 2.5em 1em 1em + img + width: 50% + margin: 0 auto + &-title display: flex flex-grow: 0 flex-shrink: 0 - height: 4em // Fixed height regardless of label length + height: auto //4em // Fixed height regardless of label length width: 100% justify-content: center align-items: center -- 2.39.5