From 6d6546011f2d1aa172241124ff3de547b15b30bf Mon Sep 17 00:00:00 2001 From: Antti Järvinen Date: Wed, 8 Apr 2015 21:59:45 +0300 Subject: Convert rem's to em's in breakpoints to fix layout jerking issue in e.g. iPad and when resizing viewport. --- static/css/poole.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/css/poole.css') diff --git a/static/css/poole.css b/static/css/poole.css index 974daa3..7ddd054 100644 --- a/static/css/poole.css +++ b/static/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; } @@ -193,7 +193,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; @@ -382,7 +382,7 @@ a.pagination-item:hover { background-color: #f5f5f5; } -@media (min-width: 30rem) { +@media (min-width: 30em) { .pagination { margin: 3rem 0; } -- cgit 1.4.1