mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
center progress labels for onboarding
This commit is contained in:
1 parent
00a24f13b6
commit
bb1287e02e
1 file changed
+2
-2
@@ -114,11 +114,11 @@ export function OnboardingDialog({
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
<Progress value={progress} className="h-1.5" />
|
<Progress value={progress} className="h-1.5" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between text-[10px] sm:text-xs text-muted-foreground">
|
<div className="grid grid-cols-3 gap-2 text-[10px] sm:text-xs text-muted-foreground">
|
||||||
{STEPS.map((step, index) => (
|
{STEPS.map((step, index) => (
|
||||||
<span
|
<span
|
||||||
key={step.id}
|
key={step.id}
|
||||||
className={`${index <= currentStep ? 'text-primary font-medium' : ''} truncate`}
|
className={`text-center ${index <= currentStep ? 'text-primary font-medium' : ''} truncate`}
|
||||||
>
|
>
|
||||||
{step.title}
|
{step.title}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in new issue
Block a user