Skip to content

Commit

Permalink
Merge pull request #247 from RaoHai/feat/error-padding
Browse files Browse the repository at this point in the history
fix: error padding
  • Loading branch information
RaoHai authored Sep 14, 2020
2 parents a3a6cdf + e3f6ec2 commit aed82fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-ansi",
"version": "2.1.1",
"version": "2.1.2",
"description": "",
"author": "RaoHai",
"license": "MIT",
Expand All @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions src/style/log.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
display: block;
}

.hasError {
padding-right: 240px;
}

.logHeader {
height: 28px;
padding: 0.7em 0.8em 0.6em;
Expand Down

1 comment on commit aed82fa

@vercel
Copy link

@vercel vercel bot commented on aed82fa Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.