aboutsummaryrefslogtreecommitdiff
path: root/layouts/docs
diff options
context:
space:
mode:
authorPaul Twohey <twohey@users.noreply.github.com>2019-08-31 18:38:16 -0700
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-09-01 20:51:15 +0200
commit964968be39f7d70c12c41eb77c51e94e1c2ccd6a (patch)
tree49f1588411249a07038a05439a3b101cd78e5a10 /layouts/docs
parent438f011ff52da9f09dfacd83c9693ee9ab07e7f8 (diff)
use class="hidden" instead of creating new classes
Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';"
Diffstat (limited to 'layouts/docs')
-rw-r--r--layouts/docs/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
index f35a6dc..eac72f1 100644
--- a/layouts/docs/baseof.html
+++ b/layouts/docs/baseof.html
@@ -7,7 +7,7 @@
</head>
<body>
- <input type="checkbox" id="menu-control" />
+ <input type="checkbox" class="hidden" id="menu-control" />
<main class="flex container">
<aside class="book-menu fixed">