Skip to content

Commit

Permalink
[bug 689170] Fix overlapping images and text.
Browse files Browse the repository at this point in the history
* Negative margin was a bad idea, removed that.
* Fixed some mistakes: s/dd/dl/.
* Add a 5px top and bottom margin to images.
  • Loading branch information
rlr committed Sep 30, 2011
1 parent cfeec17 commit 4311221
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions media/css/wiki_syntax.css
Expand Up @@ -58,13 +58,14 @@

#doc-content video,
#doc-content img {
margin: 5px 0;
max-width: 100%;
}

#doc-content ol,
#doc-content ul,
#doc-content dd {
margin: -0.7em 0 1em 40px;
#doc-content dl {
margin: 0 0 1em 40px;
}

#doc-content li {
Expand All @@ -76,7 +77,8 @@
}

#doc-content li ol,
#doc-content li ul {
#doc-content li ul,
#doc-content li dl {
margin: 0 0 0 21px;
}

Expand Down

0 comments on commit 4311221

Please sign in to comment.