Skip to content

Commit f08099d

Browse files
committed
chore(mon-pix): add a flex display to reset scorecard modal footer buttons
1 parent 7a872e5 commit f08099d

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

mon-pix/app/components/scorecard-details.hbs

+8-12
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,13 @@
237237
</div>
238238
</:content>
239239
<:footer>
240-
<ul class="scorecard-details-reset-modal__footer">
241-
<li>
242-
<PixButton @variant="secondary" @triggerAction={{this.closeModal}}>
243-
{{t "common.actions.cancel"}}
244-
</PixButton>
245-
</li>
246-
<li>
247-
<PixButton id="pix-modal-footer__button-reset" @variant="error" @triggerAction={{this.reset}}>
248-
{{t "pages.competence-details.actions.reset.label"}}
249-
</PixButton>
250-
</li>
251-
</ul>
240+
<div class="scorecard-details-reset-modal__footer">
241+
<PixButton @variant="secondary" @triggerAction={{this.closeModal}}>
242+
{{t "common.actions.cancel"}}
243+
</PixButton>
244+
<PixButton id="pix-modal-footer__button-reset" @variant="error" @triggerAction={{this.reset}}>
245+
{{t "pages.competence-details.actions.reset.label"}}
246+
</PixButton>
247+
</div>
252248
</:footer>
253249
</PixModal>

mon-pix/app/styles/components/_scorecard-details.scss

+7
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,10 @@
113113
margin-block: var(--pix-spacing-4x);
114114
}
115115
}
116+
117+
/** Reset modal **/
118+
.scorecard-details-reset-modal__footer {
119+
display: flex;
120+
gap: var(--pix-spacing-2x);
121+
justify-content: flex-end;
122+
}

0 commit comments

Comments
 (0)