Skip to content

Commit

Permalink
added default option of false for 'static'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmorleyfinch committed Sep 19, 2016
1 parent d0d7e48 commit 098a715
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cookieconsent.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@
// Note: style "wire" is used for the configurator, but has no CSS styles of it's own, only palette is used.
theme: 'block',

// The popup is `fixed` by default, but if you want it to be static (inline with the page content), set this to false
// Note: by default, we animate the height of the popup from 0 to full size
static: false,

// if you want custom colours, pass them in here. this object should look like this.
// ideally, any custom colours/themes should be created in a separate style sheet, as this is more efficient.
// {
Expand Down

0 comments on commit 098a715

Please sign in to comment.