From 9af363dbdb02fab6f746c2a46f2b8839e2e319e9 Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Wed, 8 Jan 2025 20:41:06 +0800 Subject: [PATCH] feat(playground): adjust layout sizes for panels and improve result display structure --- src/app/playground/layout.tsx | 10 +++++----- src/app/playground/layout/terminal/result.tsx | 16 +++++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/app/playground/layout.tsx b/src/app/playground/layout.tsx index 49117dc..c587016 100644 --- a/src/app/playground/layout.tsx +++ b/src/app/playground/layout.tsx @@ -18,17 +18,13 @@ export default function PlaygroundLayout() { One - + - - - - @@ -37,6 +33,10 @@ export default function PlaygroundLayout() { + + + + diff --git a/src/app/playground/layout/terminal/result.tsx b/src/app/playground/layout/terminal/result.tsx index dbc890b..805956b 100644 --- a/src/app/playground/layout/terminal/result.tsx +++ b/src/app/playground/layout/terminal/result.tsx @@ -12,14 +12,16 @@ export default function ResultPage() { return ( <> {type && message && ( - + <> - {output && ( - - {output} - - )} - + + {output && ( + + {output} + + )} + + )} );