svivian / q2a-markdown-editor

Markdown editor plugin for Question2Answer
55 stars 24 forks source link

Code line can't be shown completely when it's too long #3

Closed icebluehorse closed 11 years ago

icebluehorse commented 11 years ago

You can see this demo: http://q2achina.sinaapp.com/686

First sentence, I use code format.

svivian commented 11 years ago

This is fixed by adding overflow:auto to the pre element. I have updated the repo to include this in the default CSS. I also borrowed your nice code-block style from that page :-)