Fix hashtag column options styling (#14247)

* Enable nonces for stylesheets

* Pass nonce to react-select
This commit is contained in:
ThibG
2020-07-07 01:33:38 +02:00
committed by GitHub
parent c3187411c2
commit a783bdf4ad
3 changed files with 34 additions and 12 deletions

View File

@ -25,6 +25,7 @@
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
= javascript_pack_tag "locale_#{I18n.locale}", integrity: true, crossorigin: 'anonymous'
= csrf_meta_tags
%meta{ name: 'style-nonce', content: request.content_security_policy_nonce }
= stylesheet_link_tag '/inert.css', skip_pipeline: true, media: 'all', id: 'inert-style'