diff --git a/.ladle/Welcome.stories.tsx b/.ladle/Welcome.stories.tsx
index d9b79291f..6d339da0b 100644
--- a/.ladle/Welcome.stories.tsx
+++ b/.ladle/Welcome.stories.tsx
@@ -102,24 +102,27 @@ export const Introduction: Story = () => {
Ladle provides several features to help with component development:
-
-
- Isolated Testing: Develop and test components in isolation from the
- rest of the application
-
-
- Interactive Controls: Use controls to test components with
- different props and configurations
-
-
- Viewport Sizing: Test components at different screen sizes with the
- viewport controls
-
-
- Component Adapter Toggle: Use the toggle button in the bottom-right
- corner to switch between the default React Aria and the plain HTML components
-
-
+
+ Isolated Testing: Develop and test components in isolation from
+ the rest of the application
+ >,
+ <>
+ Interactive Controls: Use controls to test components with
+ different props and configurations
+ >,
+ <>
+ Viewport Sizing: Test components at different screen sizes with
+ the viewport controls
+ >,
+ <>
+ Component Adapter Toggle: Use the toggle button in the
+ bottom-right corner to switch between the default React Aria and the plain HTML
+ components
+ >,
+ ]}
+ />
diff --git a/src/components/Common/RequirementsList/RequirementsList.module.scss b/src/components/Common/RequirementsList/RequirementsList.module.scss
index 4412a5c62..51417db51 100644
--- a/src/components/Common/RequirementsList/RequirementsList.module.scss
+++ b/src/components/Common/RequirementsList/RequirementsList.module.scss
@@ -2,6 +2,26 @@
.list {
position: relative;
width: 100%;
+ list-style-type: none;
+ padding: 0;
+ gap: 0;
+
+ :global(li) {
+ margin-bottom: 0;
+ position: relative;
+
+ &:not(:last-child) .listItem::after {
+ content: '';
+ position: absolute;
+ left: toRem(14); // center of the icon
+ top: toRem(32); // just below the icon
+ width: 0;
+ height: calc(100% - toRem(32)); //account for the icon height
+ margin: toRem(7) 0; //adding gap to the line
+ border-left: 2px dotted var(--g-colorBorder);
+ z-index: 0;
+ }
+ }
}
.listItem {
@@ -9,19 +29,6 @@
align-items: flex-start;
gap: toRem(16);
position: relative;
-
- // Draw the vertical dotted line for all but the last item
- &:not(:last-child)::after {
- content: '';
- position: absolute;
- left: toRem(14); // center of the icon
- top: toRem(32); // just below the icon
- width: 0;
- height: calc(100% - toRem(32)); //account for the icon height
- margin: toRem(7) 0; //adding gap to the line
- border-left: 2px dotted var(--g-colorBorder);
- z-index: 0;
- }
}
.listItemIcon {
diff --git a/src/components/Common/RequirementsList/RequirementsList.tsx b/src/components/Common/RequirementsList/RequirementsList.tsx
index 5aef7486e..87c1219df 100644
--- a/src/components/Common/RequirementsList/RequirementsList.tsx
+++ b/src/components/Common/RequirementsList/RequirementsList.tsx
@@ -18,12 +18,13 @@ export const RequirementsList = ({ requirements }: RequirementsListProps) => {
return (
-