mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-23 00:22:19 +01:00
fix: Ensure chips are wrapped (#194)
This commit is contained in:
parent
ef2999caa1
commit
8b36bc1c0e
@ -9,6 +9,7 @@ exports[`renders correctly when disabled 1`] = `
|
|||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"display": "flex",
|
"display": "flex",
|
||||||
|
"flexWrap": "wrap",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
@ -44,6 +45,7 @@ exports[`renders strategy with empty list as param 1`] = `
|
|||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"display": "flex",
|
"display": "flex",
|
||||||
|
"flexWrap": "wrap",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@ -92,6 +94,7 @@ exports[`renders strategy with list as param 1`] = `
|
|||||||
style={
|
style={
|
||||||
Object {
|
Object {
|
||||||
"display": "flex",
|
"display": "flex",
|
||||||
|
"flexWrap": "wrap",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -55,7 +55,7 @@ export default class InputList extends Component {
|
|||||||
<div>
|
<div>
|
||||||
<p>{name}</p>
|
<p>{name}</p>
|
||||||
|
|
||||||
<div style={{ display: 'flex' }}>
|
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
|
||||||
{list.map((entryValue, index) => (
|
{list.map((entryValue, index) => (
|
||||||
<Chip
|
<Chip
|
||||||
key={index + entryValue}
|
key={index + entryValue}
|
||||||
|
Loading…
Reference in New Issue
Block a user