mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Merge pull request #5556 from artoscinote/ma_SCI_8617
Fix protocol styling issues (disable Tailwind Preflight) [SCI-8617]
This commit is contained in:
commit
acceaa7e08
4 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,3 @@
|
|||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
img {
|
||||
display:inline
|
||||
}
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
|
||||
.tiny-mce-editor {
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ Rails.application.config.content_security_policy do |policy|
|
|||
policy.default_src :self, :https
|
||||
policy.base_uri :self
|
||||
policy.font_src :self, :https, :data
|
||||
policy.img_src :self, :https, :data
|
||||
policy.img_src :self, :https, :data, :blob
|
||||
policy.object_src :none
|
||||
policy.script_src :self, :https, :unsafe_eval
|
||||
policy.style_src :self, :https, :unsafe_inline, :data
|
||||
|
|
|
@ -8,6 +8,9 @@ module.exports = {
|
|||
'./app/javascript/**/*.vue',
|
||||
'./app/views/**/*.{erb,haml,html,slim}'
|
||||
],
|
||||
corePlugins: {
|
||||
preflight: false
|
||||
},
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
|
|
Loading…
Reference in a new issue