Skip to content

Commit

Permalink
fix(consent): ajoute un niveau de titre sur la banniere de consenteme…
Browse files Browse the repository at this point in the history
…nt [DS-2257] (#719)

- le titre de la baniière devient un `<h4>` à la place d'un `<p>` dans la structure HTML du composant
  • Loading branch information
zellerbaptiste authored Nov 6, 2023
1 parent 6f2ab77 commit 3057c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/consent/template/ejs/placeholder.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ button.markup = 'button';
%>

<div <%- includeClasses(classes); %> <%- includeAttrs(attributes) %>>
<% if (consent.title) { %><p class="<%= prefix %>-h6"><%= consent.title %></p> <% } %>
<% if (consent.title) { %><h4 class="<%= prefix %>-h6"><%= consent.title %></h4> <% } %>
<% if (consent.body) { %><p><%- consent.body %></p><% } %>
<%- include('../../../button/template/ejs/button.ejs', {button: button}); %>
</div>

0 comments on commit 3057c20

Please sign in to comment.