okfn / opendatahandbook

Open Data Handbook v2
http://opendatahandbook.org/
197 stars 260 forks source link

Cookie consent breaks layout #310

Open smth opened 6 years ago

smth commented 6 years ago

As a bit of context: This site is currently (regardless of this issue) not displaying as it should. On desktop sized screens, the menu should only be collapsed on the home page. This could be fixed with these changes: https://github.com/okfn/opendatahandbook/compare/master...fix-menu-state

Assuming the menu issue is fixed, the "Cookie consent" elements (below) causes the menu to disappear. This is probably because the menu relies on everything else on the page being wrapped in a single element.

<div class="cc-revoke cc-bottom cc-animate cc-color-override-1499081394" style="display: none;">
<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window cc-banner cc-type-opt-out cc-theme-block cc-bottom cc-color-override-1499081394 cc-invisible" style="display: none;">