-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change integer pixels by .02px rather than 1px
According to the Bootstrap developers, using .02px rather than .01px should be sufficient to work around the Safari rounding bug. Fixes #19. Signed-off-by: Anders Kaseorg <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
@media screen and (min-width: 501px) and (max-width: 1199px) {} | ||
@media screen and (min-width: 500.02px) and (max-width: 1199.98px) {} | ||
|
||
@media screen and (min-width: 501px) and (max-width: 1199px) {} | ||
@media screen and (min-width: 500.02px) and (max-width: 1199.98px) {} | ||
|
||
@media screen and (min-width: 40.001em) and (max-width: 59.999em) {} | ||
|
||
@media screen and (min-width: 13.801rem) and (max-width: 51.2rem) {} | ||
|
||
@media screen and (min-width: 6.001in) and (max-width: 8.999in) {} | ||
|
||
@media screen and (min-width: 1px) and (max-width: 500.579px) {} | ||
@media screen and (min-width: 0.02px) and (max-width: 500.579px) {} | ||
|
||
@media screen and (width) and (min-width: 0.081px) and (max-width: 0.679px) {} | ||
|
||
/* height */ | ||
@media screen and (min-height: 501px) and (max-height: 1199px) {} | ||
@media screen and (min-height: 500.02px) and (max-height: 1199.98px) {} | ||
|
||
@media screen and (min-height: 501px) and (max-height: 1199px) {} | ||
@media screen and (min-height: 500.02px) and (max-height: 1199.98px) {} | ||
|
||
@media screen and (min-height: 40.001em) and (max-height: 59.999em) {} | ||
|
||
@media screen and (min-height: 13.8rem) and (max-height: 51.199rem) {} | ||
|
||
@media screen and (min-height: 6.001in) and (max-height: 8.999in) {} | ||
|
||
@media screen and (min-height: 1px) and (max-height: 500.579px) {} | ||
@media screen and (min-height: 0.02px) and (max-height: 500.579px) {} | ||
|
||
@media screen and (height) and (min-height: 0.081px) and (max-height: 0.679px) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@media (min-width: 768px) and (max-width: 1023px) {} | ||
@media (min-width: 768px) and (max-width: 1023px) {} | ||
@media (min-width: 768px) and (max-width: 1023.98px) {} | ||
@media (min-width: 768px) and (max-width: 1023.98px) {} | ||
|
||
@media (min-width: 769px) and (max-width: 1024px) {} | ||
@media (min-width: 769px) and (max-width: 1024px) {} | ||
@media (min-width: 768.02px) and (max-width: 1024px) {} | ||
@media (min-width: 768.02px) and (max-width: 1024px) {} | ||
|
||
@media (min-width: 768px) and (max-width: 1024px) {} | ||
@media (min-width: 768px) and (max-width: 1024px) {} | ||
|
||
@media (min-width: 769px) and (max-width: 1023px) {} | ||
@media (min-width: 769px) and (max-width: 1023px) {} | ||
@media (min-width: 768.02px) and (max-width: 1023.98px) {} | ||
@media (min-width: 768.02px) and (max-width: 1023.98px) {} |