Skip to content

Commit

Permalink
quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Dec 20, 2024
1 parent 41e4131 commit a4e3135
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,27 @@ export function InWizard() {
</React.StrictMode>
)
}

export const DisplayDividerWhenUsingContainer = () => (
<Form.Handler>
<Flex.Stack>
<Form.Card>
<Form.SubHeading>
Displaying divider line when using container
</Form.SubHeading>
<Iterate.Array path="/list" divider="line">
<Iterate.ViewContainer
variant="basic"
toolbarVariant="custom"
divider="line"
>
<Value.String label="Something" itemPath="/something" />
</Iterate.ViewContainer>
<Iterate.EditContainer variant="basic" divider="line">
<Field.String label="Something" itemPath="/something" />
</Iterate.EditContainer>
</Iterate.Array>
</Form.Card>
</Flex.Stack>
</Form.Handler>
)
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
&__element {
outline: none; // for JavaSCript focus
}

& > &__element:has(> .dnb-forms-section-block) {
// To make Animation not jump, we add "margin-bottom" in the inner element
margin-top: 0;
}
}

0 comments on commit a4e3135

Please sign in to comment.