mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-03 07:57:22 +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">
|
||||
<Progress value={progress} className="h-1.5" />
|
||||
</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) => (
|
||||
<span
|
||||
key={step.id}
|
||||
className={`${index <= currentStep ? 'text-primary font-medium' : ''} truncate`}
|
||||
className={`text-center ${index <= currentStep ? 'text-primary font-medium' : ''} truncate`}
|
||||
>
|
||||
{step.title}
|
||||
</span>
|
||||
|
||||
Reference in new issue
Block a user