|
@@ -31,7 +31,7 @@ export default ({images = [], className, onChange, onClick, ref, current:propCur
|
|
const totalWidth = imgs.reduce(widthSum, 0)
|
|
const totalWidth = imgs.reduce(widthSum, 0)
|
|
div.style.minWidth = totalWidth + 'px'
|
|
div.style.minWidth = totalWidth + 'px'
|
|
div.style.display = 'flex'
|
|
div.style.display = 'flex'
|
|
- div.alignItems = 'flex-start'
|
|
|
|
|
|
+ div.style.alignItems = 'flex-start'
|
|
}
|
|
}
|
|
}, [divRef, imgs])
|
|
}, [divRef, imgs])
|
|
|
|
|