Skip to content

Commit

Permalink
Feat: Tweak box mode of consent modal according to graphic design #CC…
Browse files Browse the repository at this point in the history
…M-47
  • Loading branch information
adamkudrna authored and OndraM committed Feb 10, 2022
1 parent 885c04e commit 18adcf3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/settings/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $button-padding: calc(#{units.rem2em(tokens.$space-4)} - var(--lmcccm-p-btn-bord
$button-spacing-x: units.rem2em(tokens.$space-6);
$button-spacing-y: units.rem2em(tokens.$space-6);

$consent-box-max-width: 30em;
$consent-box-max-width: 40em;
$consent-cloud-max-width: 68em;

$modal-padding-desktop: units.rem2em(tokens.$space-7);
Expand Down
6 changes: 6 additions & 0 deletions src/scss/style/_consent-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
box-shadow: tokens.$shadow-1;
}

#cm.box,
#cm.bar {
padding: units.rem2em(tokens.$space-9);
}
Expand All @@ -29,6 +30,11 @@
margin-top: 0;
}

#cm.box #c-bns {
justify-content: flex-end;
}

#cm.box #c-bns .c-bn,
#cm.bar #c-bns .c-bn {
width: auto;
flex: none;
Expand Down

0 comments on commit 18adcf3

Please sign in to comment.