fixed log overflow, resize sizing

This commit is contained in:
Joni Juup
2022-02-02 12:12:07 +02:00
parent 9a09da88ec
commit c544a03be4
6 changed files with 31 additions and 10 deletions

View File

@@ -21,6 +21,7 @@ const Deploy = () => {
return (
<Split
direction="vertical"
gutterSize={4}
sizes={[40, 60]}
style={{ height: "calc(100vh - 60px)" }}
>
@@ -31,6 +32,7 @@ const Deploy = () => {
direction="horizontal"
sizes={[50, 50]}
minSize={[320, 160]}
gutterSize={4}
style={{
display: "flex",
flexDirection: "row",

View File

@@ -26,6 +26,7 @@ const Home: NextPage = () => {
direction="vertical"
sizes={[70, 30]}
minSize={[100, 100]}
gutterSize={4}
style={{ height: "calc(100vh - 60px)" }}
>
<main style={{ display: "flex", flex: 1, position: "relative" }}>

View File

@@ -356,6 +356,7 @@ const Test = () => {
<Split
direction="vertical"
sizes={[50, 50]}
gutterSize={4}
style={{ height: "calc(100vh - 60px)" }}
>
<Flex
@@ -363,7 +364,6 @@ const Test = () => {
fluid
css={{
justifyContent: "center",
mb: "$2",
p: "$3 $2",
}}
>
@@ -371,6 +371,7 @@ const Test = () => {
direction="horizontal"
sizes={[50, 50]}
minSize={[180, 320]}
gutterSize={4}
gutterAlign="center"
style={{
display: "flex",
@@ -409,6 +410,7 @@ const Test = () => {
direction="horizontal"
sizes={[50, 50]}
minSize={[320, 160]}
gutterSize={4}
style={{
display: "flex",
flexDirection: "row",
@@ -416,14 +418,19 @@ const Test = () => {
height: "100%",
}}
>
<Box css={{ width: "50%", borderRight: "1px solid $mauve8" }}>
<Box
css={{
borderRight: "1px solid $mauve8",
height: "100%",
}}
>
<LogBox
title="Development Log"
logs={snap.transactionLogs}
clearLog={() => (state.transactionLogs = [])}
/>
</Box>
<Box css={{ width: "50%" }}>
<Box css={{ height: "100%" }}>
<DebugStream />
</Box>
</Split>