From aac6968ed87e36f92374945b1f0fe0c30900cf62 Mon Sep 17 00:00:00 2001 From: Lee Penkman Date: Tue, 3 Jun 2014 18:04:15 +1200 Subject: [PATCH] Stop Jasmine's CSS affecting the style of the body tag [fixes #600] --- lib/jasmine-core/jasmine.css | 4 ++-- src/html/_HTMLReporter.scss | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/jasmine-core/jasmine.css b/lib/jasmine-core/jasmine.css index 7fd561fb..84f5f36b 100644 --- a/lib/jasmine-core/jasmine.css +++ b/lib/jasmine-core/jasmine.css @@ -1,6 +1,6 @@ -body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; } +body { overflow-y: scroll; } -.html-reporter { font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; } +.html-reporter { background-color: #eeeeee; padding: 5px; margin: -8px; font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; } .html-reporter a { text-decoration: none; } .html-reporter a:hover { text-decoration: underline; } .html-reporter p, .html-reporter h1, .html-reporter h2, .html-reporter h3, .html-reporter h4, .html-reporter h5, .html-reporter h6 { margin: 0; line-height: 14px; } diff --git a/src/html/_HTMLReporter.scss b/src/html/_HTMLReporter.scss index de42ba5f..cdc9ebad 100644 --- a/src/html/_HTMLReporter.scss +++ b/src/html/_HTMLReporter.scss @@ -19,13 +19,13 @@ $font-size: 11px; $large-font-size: 14px; body { - background-color: $page-background-color; - padding: 0; - margin: 5px; overflow-y: scroll; } .html-reporter { + background-color: $page-background-color; + padding: 5px; + margin: -8px; font-size: $font-size; font-family: Monaco, "Lucida Console", monospace;