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

@ -65,6 +65,9 @@ module.exports = styled.div`
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;
flex-grow: 1; flex-grow: 1;