Skip to content

Commit

Permalink
publish beta-24 fork with layout race fixes for printing
Browse files Browse the repository at this point in the history
  • Loading branch information
epelc committed Jun 7, 2019
1 parent 84829f7 commit 2b8e41d
Show file tree
Hide file tree
Showing 173 changed files with 19,283 additions and 10,439 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2018 Google LLC.
Copyright (c) 2019 Google LLC.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
30 changes: 15 additions & 15 deletions _mq.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,44 @@
$breakpoints: (
xs: (
begin: 0,
end: 599px
end: 599.9px
),
sm: (
begin: 600px,
end: 959px
end: 959.9px
),
md: (
begin: 960px,
end: 1279px
end: 1279.9px
),
lg: (
begin: 1280px,
end: 1919px
end: 1919.9px
),
xl: (
begin: 1920px,
end: 5000px
end: 4999.99px
),
) !default;

// Overlapping breakpoints that are greater than defined
// Material Design breakpoints
// @type map
$overlapping-gt: (
xs: 600px,
sm: 960px,
md: 1280px,
lg: 1920px,
gt-xs: 600px,
gt-sm: 960px,
gt-md: 1280px,
gt-lg: 1920px,
) !default;

// Overlapping breakpoints that are less than defined
// Material Design breakpoints
// @type map
$overlapping-lt: (
sm: 599px,
md: 959px,
lg: 1279px,
xl: 1919px,
lt-sm: 599.9px,
lt-md: 959.9px,
lt-lg: 1279.9px,
lt-xl: 1919.9px,
) !default;


Expand All @@ -66,11 +66,11 @@ $overlapping-lt: (
@media (min-width: $min) and (max-width: $max) { @content; }
}
@else if map-has-key($overlapping-gt, $bp) {
$min: map-get($breakpoints, $bp);
$min: map-get($overlapping-gt, $bp);
@media (min-width: $min) { @content; }
}
@else if map-has-key($overlapping-lt, $bp) {
$max: map-get($breakpoints, $bp);
$max: map-get($overlapping-lt, $bp);
@media (max-width: $max) { @content; }
}
}
Loading

0 comments on commit 2b8e41d

Please sign in to comment.