clayh53 / tufte-jekyll

Minimal Jekyll blog styled to resemble the look and layout of Edward Tufte's books
MIT License
620 stars 206 forks source link

sidenote/marginnote in print css? #48

Open jdmar3 opened 8 years ago

jdmar3 commented 8 years ago

I have noticed that when I open a print preview for a page or post the side and margin notes do not show up at all. I've been racking my brains to figure out why this might be and I'm wondering if it is a browser-based problem (I mostly use Chrome) or if it is something else.

Has anyone else had this issue? Is there something that can be done with the print CSS to force them to show up? I'll try out what I know and then make a pull request if I find something that works, but I wanted to check in and see if anyone else had a similar experience.

clayh53 commented 8 years ago

By golly, something is definitely amiss. Sidenotes and margin notes print correctly using Safari on the Mac, but using Chrome on the Mac or either Chrome and IE11 on Windows, there is a problem. I'll have to dig into the SCSS file to figure out what is going on.

clayh53 commented 8 years ago

Firefox on the Mac works.

jdmar3 commented 8 years ago

Good. I'm glad it's not just me. I'll check on a bunch of other Linux browsers as well.

clayh53 commented 8 years ago

Found a few references to needing to put print media CSS in a separate linked stylesheet file, but when I did this, I still have the issue in Chrome. Suggest Firefox or Safari untilI can figure this out. Really weird.