style: add gap-1 and p-1 to parameter rows
This commit is contained in:
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