zzzprojects / sqlfiddle

http://sqlfiddle.com
MIT License
275 stars 52 forks source link

REQ: ability to print #16

Closed btray77 closed 12 years ago

btray77 commented 12 years ago

It would be nice if we could print our work directly from sqlfiddle. I'm guessing just adding print formatting CSS would work well enough.

jakefeasel commented 12 years ago

Thanks for the suggestion. I've rolled out an initial print stylesheet that makes it a bit friendlier. Take a look and let me know if you think this will work; if not, suggestions (and examples of problems) would be appreciated.

btray77 commented 12 years ago

Thanks for working on this, It's a start.. Just looking at it I'd change the way the codemirror CSS looks so you can print out all the code. right now it's only printing the visible portion of it.

jakefeasel commented 12 years ago

I've pushed out another modification which will expand the codemirror areas to show the entire height of their contents. It looks pretty good to me now. However, things could still be cut off, width-wise, if you have long lines of text. I've noticed that landscape mode seems to be fairly accommodating for that, though.