From 19ad4d58e099779359df17edfd2422a3ddbac225 Mon Sep 17 00:00:00 2001 From: Gabriel Csapo Date: Thu, 12 Oct 2017 23:19:54 -0700 Subject: [PATCH] 0.1.6 - fixes a styling issue when trying to display an assertion without a parent as the first item in the list --- CHANGELOG.md | 4 ++++ docs/example/index.html | 2 +- package.json | 2 +- src/plan.js | 2 +- src/style.css | 19 +++++++++++++------ 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb9602f..42abc61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.6 (10/17/2017) + +- fixes a styling issue when trying to display an assertion without a parent as the first item in the list + # 0.1.5 (10/17/2017) - moves font-awesome to dependencies diff --git a/docs/example/index.html b/docs/example/index.html index 0eaf7ae..e150cd0 100644 --- a/docs/example/index.html +++ b/docs/example/index.html @@ -8,5 +8,5 @@
- + diff --git a/package.json b/package.json index daf1104..d006e76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tap-html", - "version": "0.1.5", + "version": "0.1.6", "description": "📊 an html tap reporter", "author": "Gabriel J. Csapo ", "license": "ISC", diff --git a/src/plan.js b/src/plan.js index 7c65faf..c12b044 100644 --- a/src/plan.js +++ b/src/plan.js @@ -22,7 +22,7 @@ class Plan extends React.Component { style['paddingLeft'] = '15px'; style['paddingBottom'] = '25px'; } else { - style['paddingTop'] = '10px'; + style['marginTop'] = '60px'; style['paddingBottom'] = '10px'; } diff --git a/src/style.css b/src/style.css index 6c75d5c..08ae062 100644 --- a/src/style.css +++ b/src/style.css @@ -1,30 +1,37 @@ /* Overrides */ + html, body { - margin: 0; - padding: 0; - font-family: 'Open Sans', Helvetica, sans-serif; - width: 100%; - height: 100%; + margin: 0; + padding: 0; + font-family: 'Open Sans', Helvetica, sans-serif; + width: 100%; + height: 100%; } + h1, h3 { margin-bottom: 0px; margin-top: 0px; } + .navbar { position: fixed; top: 0; } + .navbar-title { margin-top: 25px !important; } + #root { - padding-bottom: 60px; + padding-bottom: 60px; } + .list, .list-item { border-radius: 0 !important; border-right: 0 !important; border-left: 0 !important; } + .badge { height: 25px; width: 25px;