Skip to content
Snippets Groups Projects
Commit 8c8c91a6 authored by alexisben's avatar alexisben
Browse files

testimonials fix

parent 9748f53d
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
.top
padding-left: offset(2)
padding-left: offset(3)
.splide__pagination
padding-left: offset(2)
padding-right: offset(1)
......@@ -103,15 +103,16 @@
min-height: calc(#{col-outside-container(2)} + #{half($grid-gutter)})
&.with-picture
padding-right: offset(1)
padding-left: offset(2)
padding-left: offset(3)
position: relative
figcaption
display: block
margin-top: $spacing0
.avatar
position: absolute
left: 0
left: col(1)
top: 0
margin-left: $grid-gutter
width: col(2)
// TODO : en discuter en créa
......
......@@ -7,7 +7,7 @@
{{ if gt (len .testimonials) 1 }}
{{- $is_carousel = true -}}
{{ end }}
<section class="block block-testimonials{{ if $title }} block-with-title{{ end }}" id="block-{{ $position }}">
<section class="block block-testimonials{{ if $title }} block-with-title{{ end }}{{ if $is_carousel}} with-carousel{{ end }}" id="block-{{ $position }}">
<div class="container">
<div class="block-content">
{{ if $title -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment