setting a width for columns without delcared props
This commit is contained in:
parent
02a39477cf
commit
9c0cbd8556
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user