Changed <pre> margin to confirm with <p> margins

This commit is contained in:
Joar Wandborg 2012-08-08 00:22:52 +02:00
parent cf29edcd74
commit 089508d07b

View File

@ -558,13 +558,11 @@ pre, code {
pre { pre {
overflow: auto; overflow: auto;
/* -10px, because it is usually preceded by <p> with margin-bottom: 20px */ margin-bottom: 20px;
margin: -10px 0 10px 0;
} }
.comment_wrapper pre { .comment_wrapper pre {
/* same as above, but with 2px */ margin-bottom: 2px;
margin: 8px 0 10px 0;
} }
.ascii-wrapper pre { .ascii-wrapper pre {