Skip to content

Commit

Permalink
Feat: allow custom bar width (close #581)
Browse files Browse the repository at this point in the history
  • Loading branch information
orestbida committed Oct 7, 2023
1 parent c0d631c commit 4417b77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cookieconsent.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
--cc-consent-modal-box-shadow: 0 0.625rem 1.875rem rgba(2, 2, 3, 0.28);
--cc-webkit-scrollbar-bg: #cfd5db;
--cc-webkit-scrollbar-bg-hover: #9199a0;
--cc-bar-max-width: 32rem;
}

/** Dark color-scheme **/
Expand Down Expand Up @@ -1018,7 +1019,7 @@ html.force--consent.show--consent body{
}

#cm.bar #c-inr{
max-width: 32em;
max-width: var(--cc-bar-max-width);
margin: 0 auto;
}

Expand Down

0 comments on commit 4417b77

Please sign in to comment.