Selaa lähdekoodia

Fix #7: Use ems in media queries because Mobile Safari has trouble with rem media queries

Mark Otto 11 vuotta sitten
vanhempi
commit
e07f84d27c
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      public/css/poole.css

+ 3 - 3
public/css/poole.css

@@ -52,7 +52,7 @@ html {
   font-size: 16px;
   line-height: 1.5;
 }
-@media (min-width: 38rem) {
+@media (min-width: 38em) {
   html {
     font-size: 20px;
   }
@@ -217,7 +217,7 @@ blockquote {
 blockquote p:last-child {
   margin-bottom: 0;
 }
-@media (min-width: 30rem) {
+@media (min-width: 30em) {
   blockquote {
     padding-right: 5rem;
     padding-left: 1.25rem;
@@ -406,7 +406,7 @@ a.pagination-item:hover {
   background-color: #f5f5f5;
 }
 
-@media (min-width: 30rem) {
+@media (min-width: 30em) {
   .pagination {
     margin: 3rem 0;
   }