Skip to content

Commit

Permalink
Fix #243: Remove top para margin to prevent 'blank line' at top
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-p committed Mar 20, 2015
1 parent ad96d70 commit 972198c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/common/default.css
Expand Up @@ -59,11 +59,14 @@ our syntax highlighting. */
background-color: transparent;
}

/* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. */
/* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing.
Note that we only use a top margin and not a bottom margin -- this prevents the
"blank line" look at the top of the email (issue #243).
*/
p {
/* !important is needed here because Hotmail/Outlook.com uses !important to
kill the margin in <p>. We need this to win. */
margin: 1.2em 0 !important;
margin: 0 0 1.2em 0 !important;
}

table, pre, dl, blockquote, q, ul, ol {
Expand Down

0 comments on commit 972198c

Please sign in to comment.