I am injecting a bootstrap
modal in gmail. For that I need bootstrap.css
. I included it in under content_scripts
in manifest.json
"content_scripts": [
{
"matches": ["https://mail.google.com/*"],
"css":["lib/bootstrap/dist/css/bootstrap.css",
"css/modal.css"
],
"js": [ "lib/jquery/jquery.min.js",
"lib/bootstrap/dist/js/bootstrap.min.js"
],
"run_at":"document_end"
}
But it reduces the font size and distorts menu bar
When i remove the css file , everything looks fine.
One more issue is : bootstrap
uses glyphicons but they are not shown because extension look for these fonts under :
https://mail.google.com/mail/u/fonts/glyphicons-halflings-regular.ttf
https://mail.google.com/mail/u/fonts/glyphicons-halflings-regular.woff
I have added these files as web_accessible_resources
too. But they still dont work