Skip to content

Commit 2203fc7

Browse files
authored
1 parent 7685609 commit 2203fc7

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/Value/Composition/info.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ showTabs: true
66

77
`Value.Composition` combines two or more `Value.*` components into one.
88

9-
By default, they will be placed in a horizontal layout. When rendered on a small screen, they will be placed in a vertical layout.
9+
By default, they will be placed in a horizontal layout. When rendered on a small screen, and the Composition contains Values with label they will be placed in a vertical layout.
1010

1111
Also good to know is that, there is an equivalent [Field.Composition](/uilib/extensions/forms/base-fields/Composition/) component that can be used for [field](/uilib/extensions/forms/all-fields/) components.
1212

packages/dnb-eufemia/src/extensions/forms/ValueBlock/style/dnb-value-block.scss

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
@include allBelow(x-small) {
9595
&:not(:has(.dnb-forms-value-block__label)) {
9696
--row-gap: var(--spacing-x-small);
97+
flex-flow: row wrap;
9798
}
9899
flex-flow: column;
99100
}

0 commit comments

Comments
 (0)