Skip to content

Commit

Permalink
fix: update logs-react
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Oct 14, 2020
1 parent 720a140 commit 7d9c226
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@material-ui/lab": "4.0.0-alpha.47",
"@monaco-editor/react": "^2.3.0",
"@open-rpc/client-js": "^1.3.1",
"@open-rpc/logs-react": "^1.1.5",
"@open-rpc/logs-react": "^1.1.6",
"@open-rpc/meta-schema": "^1.7.0",
"@open-rpc/schema-utils-js": "^1.12.0",
"@rehooks/window-size": "^1.0.2",
Expand Down
10 changes: 5 additions & 5 deletions src/containers/Inspector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { green } from "@material-ui/core/colors";
import { parseOpenRPCDocument } from "@open-rpc/schema-utils-js";
import TransportDropdown from "../components/TransportDropdown";
import useTransport, { ITransport, TTransport } from "../hooks/useTransport";
import JSONRPCLogger, {JSONRPCLog} from "@open-rpc/logs-react";
import JSONRPCLogger, { JSONRPCLog } from "@open-rpc/logs-react";

const defaultTransports: ITransport[] = [
{
Expand Down Expand Up @@ -549,10 +549,10 @@ const Inspector: React.FC<IProps> = (props) => {
Clear
</Button>
}
<div style={{height: `calc(100% - 128px)`}}>
<JSONRPCLogger logs={logs} sidebarAlign={"right"} openRecentPayload={true} />
</div>
</>
<div style={{ height: "100%", paddingBottom: "128px" }}>
<JSONRPCLogger logs={logs} sidebarAlign={"right"} openRecentPayload={true} />
</div>
</>
</SplitPane>
</>
);
Expand Down

0 comments on commit 7d9c226

Please sign in to comment.