dutchheight / craft-cookie-boss

Allow your visitors to set their cookie preference.
Other
3 stars 1 forks source link

CSS suggestion for default modal #21

Open kevadamson opened 2 years ago

kevadamson commented 2 years ago
#cookie-boss-modal {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

^ If content takes up more room than the viewport height - especially on mobile devices