projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf29edc
)
Changed <pre> margin to confirm with <p> margins
author
Joar Wandborg
<git@wandborg.com>
Tue, 7 Aug 2012 22:22:52 +0000
(
00:22
+0200)
committer
Joar Wandborg
<git@wandborg.com>
Tue, 7 Aug 2012 22:22:52 +0000
(
00:22
+0200)
mediagoblin/static/css/base.css
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/static/css/base.css
b/mediagoblin/static/css/base.css
index 6909bf2809e48d1fff42478112a831d012c988d2..0a14335a88a19845cbd5557dfd09f04692a35745 100644
(file)
--- a/
mediagoblin/static/css/base.css
+++ b/
mediagoblin/static/css/base.css
@@
-558,13
+558,11
@@
pre, code {
pre {
overflow: auto;
- /* -10px, because it is usually preceded by <p> with margin-bottom: 20px */
- margin: -10px 0 10px 0;
+ margin-bottom: 20px;
}
.comment_wrapper pre {
- /* same as above, but with 2px */
- margin: 8px 0 10px 0;
+ margin-bottom: 2px;
}
.ascii-wrapper pre {