Skip to content

Commit

Permalink
🐛 fix(stepper): mise à jour de la structure (#724)
Browse files Browse the repository at this point in the history
- inverse le stepper step et le title dans la pile html
  • Loading branch information
zellerbaptiste authored Nov 6, 2023
1 parent 2986faa commit 003d5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/component/stepper/style/_module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@include display-flex(column);

@include title {
@include display-flex(column-reverse);
@include title-style(h6);
@include set-title-margin(0 0 3v 0);
@include set-text-margin(0 0 3v 0);
Expand Down
2 changes: 1 addition & 1 deletion src/component/stepper/template/ejs/stepper.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<div <%- includeClasses(classes); %> <%- includeAttrs(attributes) %>>
<% if (stepper.title !== undefined) { %>
<<%= markup %> class="<%= prefix%>-stepper__title">
<%- stepper.title %>
<% if (stepper.currentStep && stepper.stepCount) { %>
<span class="<%= prefix %>-stepper__state">Étape <%= stepper.currentStep %> sur <%= stepper.stepCount %></span>
<% } %>
<%- stepper.title %>
</<%= markup %>>
<% } %>
Expand Down

0 comments on commit 003d5e6

Please sign in to comment.