Skip to content

Shift media query breakpoints 1px #5960

@Pikachews

Description

@Pikachews

Bug, feature request, or proposal:

Proposing the following:

$mat-xsmall: 'max-width: 600px'; // -> 599px
$mat-small: 'max-width: 960px'; // -> 959px

What is the use-case or motivation for changing an existing behavior?

The flex-layout library uses max-width: 599px and max-width: 959px for their xsmall and small breakpoints, respectively.
However, material2 uses 600px and 960px, respectively.

This causes a 1px gap between media-query changes.

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions