Skip to content

Minor Bug in Breakpoint Mixin (Media Queries) #39

@ghost

Description

/src/components/sass/mixins/_breakpoint.scss

When using max-width and min-width altogether in media queries along with predefined breakpoints, a small definition gap (or overlap) arises at exactly the breakpoint.

One possible solution is to reduce the (aliased) breakpoint's pixel size by one, if the non-default selector "max-width" is used along with breakpoint aliases. When invoking the breakpoint mixin with pixel values (not aliases), this reduction should not happen.

Metadata

Metadata

Assignees

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