diff --git a/components/LogBox.tsx b/components/LogBox.tsx index 14866b5..2c59de2 100644 --- a/components/LogBox.tsx +++ b/components/LogBox.tsx @@ -45,9 +45,15 @@ const LogBox: React.FC = ({ background: "$mauve1", position: "relative", flex: 1, + height: "100%", }} > - + = ({ )} + = ({ display: "flex", flexDirection: "column", width: "100%", + height: "100%", + overflowY: "auto", fontSize: "13px", fontWeight: "$body", fontFamily: "$monospace", px: "$3", pb: "$2", whiteSpace: "normal", - overflowY: "auto", }} > {logs?.map((log, index) => ( diff --git a/components/LogText.tsx b/components/LogText.tsx index 2f70e2e..1ff7ea9 100644 --- a/components/LogText.tsx +++ b/components/LogText.tsx @@ -4,7 +4,7 @@ const Text = styled("span", { fontFamily: "$monospace", lineHeight: "$body", color: "$text", - wordWrap: 'break-word', + wordWrap: "break-word", variants: { variant: { log: { diff --git a/pages/deploy/[[...slug]].tsx b/pages/deploy/[[...slug]].tsx index d6614b9..5b4aabe 100644 --- a/pages/deploy/[[...slug]].tsx +++ b/pages/deploy/[[...slug]].tsx @@ -21,6 +21,7 @@ const Deploy = () => { return ( @@ -31,6 +32,7 @@ const Deploy = () => { direction="horizontal" sizes={[50, 50]} minSize={[320, 160]} + gutterSize={4} style={{ display: "flex", flexDirection: "row", diff --git a/pages/develop/[[...slug]].tsx b/pages/develop/[[...slug]].tsx index d37f3ed..37d3987 100644 --- a/pages/develop/[[...slug]].tsx +++ b/pages/develop/[[...slug]].tsx @@ -26,6 +26,7 @@ const Home: NextPage = () => { direction="vertical" sizes={[70, 30]} minSize={[100, 100]} + gutterSize={4} style={{ height: "calc(100vh - 60px)" }} >
diff --git a/pages/test/[[...slug]].tsx b/pages/test/[[...slug]].tsx index 9e81e3c..6e1c496 100644 --- a/pages/test/[[...slug]].tsx +++ b/pages/test/[[...slug]].tsx @@ -356,6 +356,7 @@ 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%", }} > - + (state.transactionLogs = [])} /> - + diff --git a/styles/globals.css b/styles/globals.css index 535486f..bbe3303 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -6,6 +6,7 @@ body, min-height: 100vh; display: flex; flex-direction: column; + overflow-y: hidden; } * { @@ -14,16 +15,18 @@ body, .gutter { position: relative; - background: transparent; - transition: border-color 0.3s; + background-color: rgba(255, 255, 255, 0); + transition: border-color 0.3s, background-color 0.3s; } .gutter-vertical { - margin-top: -10px; border-bottom: 1px solid transparent; + margin-top: -5px; + padding-top: 4px; } .gutter-horizontal { - margin-left: -10px; border-right: 1px solid transparent; + margin-left: -5px; + padding-left: 4px; } .gutter-vertical:hover { cursor: row-resize;