From 9f51379df9fb5c620e710eda20fe65c6c5cba815 Mon Sep 17 00:00:00 2001 From: sokol Date: Fri, 20 Feb 2026 16:40:13 +0300 Subject: [PATCH] feat: JSON comments support + full-height layout --- src/App.tsx | 8 ++--- src/componets/content/ConfigTemplate.tsx | 39 ++++++++++++++---------- src/componets/content/Content.tsx | 16 +++++----- src/componets/env/Environment.tsx | 16 +++++----- 4 files changed, 44 insertions(+), 35 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 7d403f2..d7f68f9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -98,7 +98,7 @@ function App() { return (
-
+
{/* Header */}
{envs.length > 0 ? ( -
+
{/* Environment Panel - 5/12 width */}
-
+
await handleEnvChanged(e)} @@ -127,7 +127,7 @@ function App() {
{/* Content Panel - 7/12 width */} -
+
) { diff --git a/src/componets/content/Content.tsx b/src/componets/content/Content.tsx index 6d77cac..731ad90 100644 --- a/src/componets/content/Content.tsx +++ b/src/componets/content/Content.tsx @@ -31,22 +31,24 @@ export function Content({ config, env, onTemplateSaved }: ContentProps) { ]; return ( -
- - -
+
+
+ +
+ +
- + - + - + diff --git a/src/componets/env/Environment.tsx b/src/componets/env/Environment.tsx index 4b56f05..198bf13 100644 --- a/src/componets/env/Environment.tsx +++ b/src/componets/env/Environment.tsx @@ -94,10 +94,10 @@ export function Environment({ envs, onChanged, onSelected, onAdd, onRemove }: En )); return ( - - + + {/* Environment Selector */} -
+