mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: match TemplateConfiguration + SelectionSummary type sizes to design
This commit is contained in:
@@ -39,8 +39,8 @@ export const SelectionSummary: React.FC<SelectionSummaryProps> = ({
|
||||
};
|
||||
return (
|
||||
<div>
|
||||
<h2 className="font-semibold">Selection</h2>
|
||||
<div>
|
||||
<h2 className="text-xl font-semibold">Selection</h2>
|
||||
<div className="text-sm">
|
||||
<VariantContext.Provider value={variant(1)}>
|
||||
<StepIndicator step={1}>Base Template</StepIndicator>
|
||||
{selectedTemplate ? (
|
||||
@@ -69,7 +69,7 @@ export const SelectionSummary: React.FC<SelectionSummaryProps> = ({
|
||||
};
|
||||
|
||||
const stepCircleVariants = cva(
|
||||
"rounded-full w-8 h-8 border border-solid flex items-center justify-center",
|
||||
"rounded-full size-6 border border-solid flex items-center justify-center text-xs",
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
|
||||
@@ -37,7 +37,7 @@ export const TemplateConfiguration: React.FC<TemplateConfigurationProps> = ({
|
||||
)}
|
||||
</figure>
|
||||
<div>
|
||||
<h3 className="text-md font-semibold text-content-primary">{name}</h3>
|
||||
<h3 className="text-sm font-semibold text-content-primary">{name}</h3>
|
||||
<p className="text-sm font-normal text-content-secondary inline">
|
||||
{description}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user