mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: add rounded border + padding to all steps
This commit is contained in:
@@ -114,7 +114,7 @@ export const ModuleSettingsStep: FC<ModuleSettingsStepProps> = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="border border-border border-solid p-6 rounded-lg">
|
||||
<>
|
||||
<TemplateBuilderTitle>Configure modules</TemplateBuilderTitle>
|
||||
<TemplateBuilderSubtitle>
|
||||
Set values for module variables.
|
||||
@@ -168,6 +168,6 @@ export const ModuleSettingsStep: FC<ModuleSettingsStepProps> = ({
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { FC, PropsWithChildren } from "react";
|
||||
|
||||
export const TemplateBuilderTitle: FC<PropsWithChildren> = ({ children }) => {
|
||||
return <h2 className="text-xl font-semibold mb-1">{children}</h2>;
|
||||
return <h2 className="mt-0 text-xl font-semibold mb-1">{children}</h2>;
|
||||
};
|
||||
|
||||
export const TemplateBuilderSubtitle: FC<PropsWithChildren> = ({
|
||||
|
||||
@@ -124,13 +124,15 @@ export const TemplateBuilderPageView: FC<TemplateBuilderPageViewProps> = ({
|
||||
<div className="flex gap-8">
|
||||
{/* Main content area */}
|
||||
<div className="flex-1 min-w-0">
|
||||
{renderStepContent(
|
||||
currentStep.id,
|
||||
state,
|
||||
dispatch,
|
||||
moduleVarMap,
|
||||
createError,
|
||||
)}
|
||||
<div className="p-6 border border-solid rounded-lg">
|
||||
{renderStepContent(
|
||||
currentStep.id,
|
||||
state,
|
||||
dispatch,
|
||||
moduleVarMap,
|
||||
createError,
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Navigation controls */}
|
||||
<div className="flex justify-end mt-6 gap-2">
|
||||
|
||||
@@ -51,7 +51,7 @@ export const TemplateCustomizationsStep: FC<
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="border border-border border-solid p-6 rounded-lg">
|
||||
<>
|
||||
<TemplateBuilderTitle>Customizations</TemplateBuilderTitle>
|
||||
<TemplateBuilderSubtitle>
|
||||
Add additional configurations.
|
||||
@@ -138,7 +138,7 @@ export const TemplateCustomizationsStep: FC<
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user