Skip to content

Media queries overlap #6

@venelinn

Description

@venelinn

Great plugin !
The only thing I notice is when you use breakpoint.only('m', 'xl') the output should for m should be +1 (769px) ti prevent overlapping.
Example:

@media (min-width: 1201px) { // breakpoint.up('m')
  @content 
} 
@media (min-width: 769px) and (max-width: 1200px) { // breakpoint.only('m', 'xl') 
  @content
} 
@media (max-width: 768px) { // breakpoint.down('m')
  @content
} 

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions