mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +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 {
|
html {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
|
||||||
display:inline
|
|
||||||
}
|
|
||||||
|
|
|
@ -95,6 +95,7 @@
|
||||||
|
|
||||||
.tiny-mce-editor {
|
.tiny-mce-editor {
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ Rails.application.config.content_security_policy do |policy|
|
||||||
policy.default_src :self, :https
|
policy.default_src :self, :https
|
||||||
policy.base_uri :self
|
policy.base_uri :self
|
||||||
policy.font_src :self, :https, :data
|
policy.font_src :self, :https, :data
|
||||||
policy.img_src :self, :https, :data
|
policy.img_src :self, :https, :data, :blob
|
||||||
policy.object_src :none
|
policy.object_src :none
|
||||||
policy.script_src :self, :https, :unsafe_eval
|
policy.script_src :self, :https, :unsafe_eval
|
||||||
policy.style_src :self, :https, :unsafe_inline, :data
|
policy.style_src :self, :https, :unsafe_inline, :data
|
||||||
|
|
|
@ -8,6 +8,9 @@ module.exports = {
|
||||||
'./app/javascript/**/*.vue',
|
'./app/javascript/**/*.vue',
|
||||||
'./app/views/**/*.{erb,haml,html,slim}'
|
'./app/views/**/*.{erb,haml,html,slim}'
|
||||||
],
|
],
|
||||||
|
corePlugins: {
|
||||||
|
preflight: false
|
||||||
|
},
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
|
|
Loading…
Reference in a new issue