fix menu, docs, and posts to work with strict Content-Security-Policy
When the Content-Security-Policy header has "style-src 'self';" inine style elements like style="display: none" are not honored by browsers, so style them display: none
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<input type="checkbox" style="display: none" id="menu-control" />
|
||||
<input type="checkbox" id="menu-control" />
|
||||
<main class="flex container">
|
||||
<aside class="book-menu fixed">
|
||||
{{ partial "docs/menu" . }}
|
||||
|
||||
Reference in New Issue
Block a user