From 6358ddd78d529eb4766b91b07f24b1f0e08a0a86 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Fri, 26 Jul 2024 11:18:04 +0200 Subject: [PATCH] fix: updated pictures size in testimonial cards --- resources/sass/fo/fo.scss | 1 + resources/sass/fo/partials/_testimonial-card.scss | 9 +++++++++ resources/views/fo/partials/testimonials/card.blade.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 resources/sass/fo/partials/_testimonial-card.scss diff --git a/resources/sass/fo/fo.scss b/resources/sass/fo/fo.scss index 9be1d0d..a3b749f 100644 --- a/resources/sass/fo/fo.scss +++ b/resources/sass/fo/fo.scss @@ -27,3 +27,4 @@ // * PARTIALS @import "./partials/slider"; +@import "./partials/testimonial-card"; diff --git a/resources/sass/fo/partials/_testimonial-card.scss b/resources/sass/fo/partials/_testimonial-card.scss new file mode 100644 index 0000000..a9d9de0 --- /dev/null +++ b/resources/sass/fo/partials/_testimonial-card.scss @@ -0,0 +1,9 @@ +.testimonial-card { + .img-testimonial { + width: 100px; + + @include media-breakpoint-up(sm) { + width: 150px; + } + } +} diff --git a/resources/views/fo/partials/testimonials/card.blade.php b/resources/views/fo/partials/testimonials/card.blade.php index d0e1152..17bf365 100644 --- a/resources/views/fo/partials/testimonials/card.blade.php +++ b/resources/views/fo/partials/testimonials/card.blade.php @@ -10,7 +10,7 @@
@if (!empty($picture)) - {{ $picture['alt'] ?? '' }} @endif