From 95fc89f95ddee7b91870afab197f07f5366d3b1e Mon Sep 17 00:00:00 2001 From: Dylan Staley <88163+dstaley@users.noreply.github.com> Date: Fri, 7 Feb 2020 12:19:39 -0800 Subject: [PATCH 1/2] enable csp --- _headers | 1 + theme/static/css/kinto.css | 7 +++++++ theme/templates/icons.html | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_headers b/_headers index e7b5a01..e72b7b5 100644 --- a/_headers +++ b/_headers @@ -2,3 +2,4 @@ X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff + Content-Security-Policy: default-src 'self' \ No newline at end of file diff --git a/theme/static/css/kinto.css b/theme/static/css/kinto.css index 2e8293b..d07658d 100644 --- a/theme/static/css/kinto.css +++ b/theme/static/css/kinto.css @@ -664,3 +664,10 @@ article > ol { opacity: 0.8; margin-top: 2em; } + +.icon-sprite { + position: absolute; + width: 0; + height: 0; + overflow: hidden; +} \ No newline at end of file diff --git a/theme/templates/icons.html b/theme/templates/icons.html index 03c4db4..c3a6290 100644 --- a/theme/templates/icons.html +++ b/theme/templates/icons.html @@ -1,4 +1,4 @@ -

A growing ecosystem of tools and SDKs

- Screenshot of Kinto web admin + Screenshot of Kinto web admin

A full featured Web Admin makes managing your data a breeze.