Merge pull request 'feat' (#8) from feat into main
Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@@ -98,7 +98,7 @@ function App() {
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100">
|
||||
<main className="container mx-auto px-4 py-6 max-w-7xl">
|
||||
<main className="container mx-auto px-4 py-6 max-w-[1920px]">
|
||||
{/* Header */}
|
||||
<div className="mb-6">
|
||||
<FileChooser
|
||||
@@ -113,8 +113,8 @@ function App() {
|
||||
|
||||
{envs.length > 0 ? (
|
||||
<div className="grid grid-cols-1 lg:grid-cols-12 gap-6">
|
||||
{/* Environment Panel */}
|
||||
<section className="lg:col-span-5 xl:col-span-4">
|
||||
{/* Environment Panel - 5/12 width */}
|
||||
<section className="lg:col-span-5 xl:col-span-5 2xl:col-span-5">
|
||||
<div className="sticky top-6">
|
||||
<Environment
|
||||
envs={envs}
|
||||
@@ -126,8 +126,8 @@ function App() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Content Panel */}
|
||||
<section className="lg:col-span-7 xl:col-span-8">
|
||||
{/* Content Panel - 7/12 width */}
|
||||
<section className="lg:col-span-7 xl:col-span-7 2xl:col-span-7">
|
||||
<Content
|
||||
env={currentEnv}
|
||||
config={config}
|
||||
|
||||
6
src/componets/env/EnvironmentParam.tsx
vendored
6
src/componets/env/EnvironmentParam.tsx
vendored
@@ -48,7 +48,7 @@ export function EnvironmentParam({ param, onChanged, isNew }: EnvironmentParamPr
|
||||
return (
|
||||
<div
|
||||
className={`
|
||||
grid grid-cols-12 gap-2 p-2 rounded-lg transition-all duration-200
|
||||
grid grid-cols-12 gap-1 p-1 rounded-lg transition-all duration-200
|
||||
${isChangedClass}
|
||||
${focusedClass ? 'bg-blue-50' : 'bg-white'}
|
||||
hover:bg-slate-50
|
||||
@@ -65,7 +65,7 @@ export function EnvironmentParam({ param, onChanged, isNew }: EnvironmentParamPr
|
||||
className="text-sm"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
<div className="col-span-7">
|
||||
<Input
|
||||
value={localParam.value ?? ''}
|
||||
@@ -77,7 +77,7 @@ export function EnvironmentParam({ param, onChanged, isNew }: EnvironmentParamPr
|
||||
className="text-sm"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
<div className="col-span-1 flex items-center justify-center">
|
||||
{isNew ? (
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user