setting a width for columns without delcared props

This commit is contained in:
Alex Windett 2017-02-06 15:30:10 +00:00
parent 02a39477cf
commit 9c0cbd8556

View File

@ -64,6 +64,9 @@ module.exports = styled.div`
box-sizing: border-box; box-sizing: border-box;
padding-left: ${padding}; padding-left: ${padding};
padding-right: ${padding}; padding-right: ${padding};
// If no column size is passed, make it full width
width: 100%;
${flexed` ${flexed`
flex: 0 0 auto; flex: 0 0 auto;