From 9c35d93873558580f76fd23f4efaf248d6a667c0 Mon Sep 17 00:00:00 2001 From: "raohai.rh" Date: Mon, 14 Sep 2020 09:10:43 +0800 Subject: [PATCH 1/2] fix: error padding --- package.json | 2 +- src/style/log.module.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4636cfb..f337258 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-ansi", - "version": "2.1.1", + "version": "2.1.2", "description": "", "author": "RaoHai", "license": "MIT", diff --git a/src/style/log.module.less b/src/style/log.module.less index eae8014..89c4b0b 100644 --- a/src/style/log.module.less +++ b/src/style/log.module.less @@ -26,6 +26,10 @@ display: block; } +.hasError { + padding-right: 240px; +} + .logHeader { height: 28px; padding: 0.7em 0.8em 0.6em; From e3f6ec23093c916d8da4a6f65bdb4bed3f1971ed Mon Sep 17 00:00:00 2001 From: "raohai.rh" Date: Mon, 14 Sep 2020 09:17:59 +0800 Subject: [PATCH 2/2] fix: add docz build --- package-lock.json | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index b449824..70b5e37 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-ansi", - "version": "2.1.0", + "version": "2.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f337258..5441d4e 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "cov": "cross-env CI=1 react-scripts-ts test --env=jsdom --coverage", "test:watch": "react-scripts-ts test --env=jsdom", "dev": "docz dev", + "doc": "docz build", "build": "rollup -c", "start": "rollup -c -w", "prepare": "npm run build",