Skip to content

Commit

Permalink
UHF-9797: Move button order better for page version of banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkkimaagi committed Apr 18, 2024
1 parent 62f6cfb commit 013d8af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/hds-cc/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ export function getCookieBannerHtml(translations, groupsHtml, isBanner = true) {
</div>
</form>
<div class="hds-cc__buttons">
<button type="submit" class="hds-button hds-button--secondary hds-cc__selected-cookies-button" data-approved="selected">
<span class="hds-button__label">${translations.approveRequiredAndSelectedConsents}</span>
</button>
<button type="submit" class="hds-button hds-button--secondary hds-cc__all-cookies-button" data-approved="all">
<span class="hds-button__label">${translations.approveAllConsents}</span>
</button>
<button type="submit" class="hds-button hds-button--secondary hds-cc__selected-cookies-button" data-approved="selected">
<span class="hds-button__label">${translations.approveRequiredAndSelectedConsents}</span>
</button>
<button type="submit" class="hds-button hds-button--secondary hds-cc__required-cookies-button" data-approved="required">
<span class="hds-button__label">${translations.approveOnlyRequiredConsents}</span>
</button>
Expand Down

0 comments on commit 013d8af

Please sign in to comment.