-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix logs crashing by switching to virtual list
- npm: added `react-virtualized` - npm: added `highlight.js` at the moment I disabled highlighting the logs since it breaks the UI. The horizontal scrollbar isn't styled. This can be probably be fixed by following [this discussion](bvaughn/react-virtualized#692)
- Loading branch information
1 parent
55ee22d
commit c46a1be
Showing
7 changed files
with
140 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
.blockchain-logs { | ||
.contract-code.form-row { | ||
pre { | ||
height: 600px; | ||
} | ||
.form-row { | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1; | ||
} | ||
.ReactVirtualized__Grid__innerScrollContainer { | ||
overflow-x: auto !important; | ||
} | ||
.log-list-item { | ||
white-space: nowrap; | ||
width: auto !important; | ||
} | ||
.ReactVirtualized__Grid.ReactVirtualized__List { | ||
@extend .pre; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,4 @@ | ||
pre { | ||
border-radius: 2px; | ||
background-color: $dark-grey; | ||
border: 1px solid $border-color; | ||
padding: 10px 15px; | ||
.deploy-contract-page pre { | ||
height: 200px; | ||
overflow: auto; | ||
line-height: 1.1rem; | ||
font-size: 0.8rem; | ||
|
||
&::-webkit-resizer { background: transparent; } | ||
&::-webkit-scrollbar { width: 27px; } | ||
&::-webkit-scrollbar-track { background-color: transparent; } | ||
&::-webkit-scrollbar-thumb { | ||
background-color: $button-grey; | ||
border-radius: 15px; | ||
border: 9px solid rgba(0, 0, 0, 0); | ||
background-clip: padding-box; | ||
} | ||
&::-webkit-scrollbar-corner { background: transparent; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters