修复预览上的一些格式问题

This commit is contained in:
fen 2013-10-23 11:56:12 +08:00
parent cbd1bcba8e
commit dbfdb7f71a
2 changed files with 6 additions and 0 deletions

View File

@ -1112,6 +1112,9 @@ a.operate-reply {
#wmd-preview img {
max-width: 100%; }
#wmd-preview code, #wmd-preview pre {
padding: 2px 4px;
max-height: 400px;
overflow: auto;
background: #F6F6F3;
font-size: .92857em; }
#wmd-preview pre {

View File

@ -67,6 +67,9 @@
padding: 10px 20px;
img { max-width: 100%; }
code, pre {
padding: 2px 4px;
max-height: 400px;
overflow: auto;
background: #F6F6F3;
font-size: .92857em;
}