Skip to content
Snippets Groups Projects
Unverified Commit 8ce3a001 authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Alignement à gauche du CTA s'il n'a pas de texte (#866)

parent 26169872
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ $button-selector: "a:first-child"
grid-column: 8/13
figcaption
margin-top: $spacing-2
.call_to_action--without-image
.call_to_action--without-image:not(.call_to_action--without_text)
display: block
> div
@include grid
......
......@@ -6,7 +6,7 @@
<div class="{{ $block_class }}">
<div class="container">
<div class="block-content">
<div class="call_to_action call_to_action--with{{ if not .image }}out{{ end }}-image {{ if $block.title }}call_to_action--with-title{{ end }}">
<div class="call_to_action call_to_action--with{{ if not .image }}out{{ end }}-image {{ if $block.title }}call_to_action--with-title{{ end }} {{- if not .top.description }} call_to_action--without_text {{ end -}}">
<div>
{{ partial "blocks/top.html" $block.top }}
{{- if .buttons }}
......
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