Skip to content

Commit

Permalink
Merge pull request #163 from straversi/master
Browse files Browse the repository at this point in the history
Remove parent-width-dependent margin
  • Loading branch information
straversi authored Nov 3, 2016
2 parents 8e4036c + a6e7103 commit 617de17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ pre > code {
}

pre {
margin: 10px 10px 10px 2%;
width: 96%;
margin: 10px;
width: calc(100% - 20px); /* sum the left/right margins */
padding: 0; /* useful for code elements */
}

Expand Down

0 comments on commit 617de17

Please sign in to comment.