Clean up formatting
This commit is contained in:
parent
1e3149a876
commit
eda2209ff5
1 changed files with 3 additions and 1 deletions
|
|
@ -3,11 +3,13 @@ import postcss from 'postcss'
|
|||
|
||||
function buildMediaQuery(breakpoints) {
|
||||
if (_.isString(breakpoints)) {
|
||||
breakpoints = {min: breakpoints}
|
||||
breakpoints = { min: breakpoints }
|
||||
}
|
||||
|
||||
if (!_.isArray(breakpoints)) {
|
||||
breakpoints = [breakpoints]
|
||||
}
|
||||
|
||||
return _(breakpoints).map((breakpoint) => {
|
||||
return _(breakpoint).map((value, feature) => {
|
||||
feature = _.get(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue