From 8e6572b718f85bcca4c630ac10447ac6755b6c10 Mon Sep 17 00:00:00 2001 From: Oliver Sauter Date: Mon, 18 Mar 2019 10:41:43 +0100 Subject: [PATCH 1/4] smaller style bug with results width --- src/overview/results/components/ResultsMessage.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/overview/results/components/ResultsMessage.css b/src/overview/results/components/ResultsMessage.css index 277c27c9e7..3718dc61f6 100644 --- a/src/overview/results/components/ResultsMessage.css +++ b/src/overview/results/components/ResultsMessage.css @@ -1,3 +1,6 @@ +@value colors: 'src/common-ui/colors.css'; +@value color3 from colors; + .resultMessage { text-align: center; margin-top: 80px; @@ -21,6 +24,7 @@ font-weight: 600; font-style: normal; margin-bottom: -25px; + width: calc(100vw - 800px); & + ul { margin-top: -30px; From 4d3c557855917a4ad22d086f963a11134f5f6b50 Mon Sep 17 00:00:00 2001 From: Oliver Sauter Date: Tue, 19 Mar 2019 01:07:52 +0100 Subject: [PATCH 2/4] Version bump to 0.15.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 32d529f83f..401b0dba81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "worldbrain-extension", - "version": "0.15.0", + "version": "0.15.1", "homepage": "https://worldbrain.io", "license": "MIT", "repository": { From 781d1297c8835ec542291021e6b8a2ea1ec95b74 Mon Sep 17 00:00:00 2001 From: Oliver Sauter Date: Tue, 19 Mar 2019 11:53:23 +0100 Subject: [PATCH 3/4] fixed failed test --- src/util/nice-time.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/nice-time.test.js b/src/util/nice-time.test.js index 013be546e7..45218fdcf4 100644 --- a/src/util/nice-time.test.js +++ b/src/util/nice-time.test.js @@ -17,7 +17,7 @@ describe('niceTime', () => { test('should return timeperiod stamp for timeperiod less than 24 hours', () => { const date = new Date(2016, 7, 2, 14, 25) const now = new Date(2016, 7, 2, 18, 55) - expect(niceTime(date, { now })).toBe('14:25') + expect(niceTime(date, { now })).toBe('Today 14:25') }) test('should return the timeperiod stamp and the day for timeperiod less than 24 hours but not on the same day', () => { From 0336c7e6df47da0ff580c26e857211e06ddd6360 Mon Sep 17 00:00:00 2001 From: Oliver Sauter Date: Tue, 19 Mar 2019 11:53:23 +0100 Subject: [PATCH 4/4] fixed failed test --- src/util/nice-time.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/nice-time.test.js b/src/util/nice-time.test.js index 013be546e7..45218fdcf4 100644 --- a/src/util/nice-time.test.js +++ b/src/util/nice-time.test.js @@ -17,7 +17,7 @@ describe('niceTime', () => { test('should return timeperiod stamp for timeperiod less than 24 hours', () => { const date = new Date(2016, 7, 2, 14, 25) const now = new Date(2016, 7, 2, 18, 55) - expect(niceTime(date, { now })).toBe('14:25') + expect(niceTime(date, { now })).toBe('Today 14:25') }) test('should return the timeperiod stamp and the day for timeperiod less than 24 hours but not on the same day', () => {