Open ch0wnag3 opened 10 years ago
I can confirm that the problem is there.
<link href="/SomeProject/static/bundle-bundle_bootstrap_head.css" type="text/css" rel="stylesheet" media="screen, projection">
is what is generated and... it does not include the print version.
The following needs to change in conf/BootstrapResources.groovy:42
resource id: 'bootstrap-css', url:[plugin: 'twitter-bootstrap', dir: 'css', file: (dev ? cssFile : cssminFile)], disposition: 'head', exclude:'minify' , attrs:[media:'screen, projection, print']
Added in , attrs:[media:'screen, projection, print']
This will break bundling.
I noticed that printed pages within my app were rather ugly and I stumbled across this:
http://stackoverflow.com/questions/12302819/how-to-create-a-printable-twitter-bootstrap-page
Using the answer there as a guide, I added tweaked my layout like so:
This feels like a very hacky solution. I've read over the documentation and couldn't find anything that addresses the problem.