diff --git a/src/Stepper/index.tsx b/src/Stepper/index.tsx
index a65645e..b663850 100644
--- a/src/Stepper/index.tsx
+++ b/src/Stepper/index.tsx
@@ -4,27 +4,30 @@ import style from "./style/Stepper.module.scss";
import Icon from "../Icon";
export default function Stepper({ steps, current, clickable, setCurrent }: StepperProps) {
- return (
-
- {steps.map((step, i) => {
- const done = i < current;
+ return (
+
+ {steps.map((step, i) => {
+ const done = i < current;
- const Element = clickable ? "button" : "div";
+ const Element = clickable ? "button" : "div";
- const buttonProps: any = clickable
- ? {
- onClick: () => setCurrent(i),
- type: "button",
- }
- : {};
+ const buttonProps: any = clickable
+ ? {
+ onClick: () => setCurrent(i),
+ type: "button",
+ }
+ : {};
- return (
-
- {done ? : i + 1}
- {step.label}
-
- );
- })}
-
- );
+ return (
+
+ {done ? : i + 1}
+ {step.label}
+
+ );
+ })}
+
+ );
}
diff --git a/src/Stepper/style/Stepper.module.scss b/src/Stepper/style/Stepper.module.scss
index be97659..5c93af5 100644
--- a/src/Stepper/style/Stepper.module.scss
+++ b/src/Stepper/style/Stepper.module.scss
@@ -52,4 +52,12 @@
}
}
}
+
+ .stepWide {
+ &:not(:first-of-type) {
+ &:before {
+ width: min(120px, 10vw);
+ }
+ }
+ }
}