Skip to content

Commit 1af4ce5

Browse files
committed
fix(bug): allow items to wrap
1 parent a4f8078 commit 1af4ce5

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

dist/index.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3877,7 +3877,7 @@ FlexBox.defaultProps = {
38773877
};
38783878

38793879
function _templateObject$2() {
3880-
var data = _taggedTemplateLiteral(["\n background: ", ";\n border: 2px solid ", ";\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 2rem;\n margin-bottom: 1rem;\n"]);
3880+
var data = _taggedTemplateLiteral(["\n background: ", ";\n border: 2px solid ", ";\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n padding: 1.5rem 2rem;\n margin-bottom: 1rem;\n"]);
38813881

38823882
_templateObject$2 = function _templateObject() {
38833883
return data;

dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3872,7 +3872,7 @@ FlexBox.defaultProps = {
38723872
};
38733873

38743874
function _templateObject$2() {
3875-
var data = _taggedTemplateLiteral(["\n background: ", ";\n border: 2px solid ", ";\n flex-direction: row;\n justify-content: flex-start;\n padding: 1.5rem 2rem;\n margin-bottom: 1rem;\n"]);
3875+
var data = _taggedTemplateLiteral(["\n background: ", ";\n border: 2px solid ", ";\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n padding: 1.5rem 2rem;\n margin-bottom: 1rem;\n"]);
38763876

38773877
_templateObject$2 = function _templateObject() {
38783878
return data;

src/lib/components/ImageBox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const ImageBox = styled(FlexBox)`
55
background: ${props => props.theme.colors.background};
66
border: 2px solid ${props => props.theme.colors.outlineColor};
77
flex-direction: row;
8+
flex-wrap: wrap;
89
justify-content: flex-start;
910
padding: 1.5rem 2rem;
1011
margin-bottom: 1rem;

0 commit comments

Comments
 (0)