From b98d9aae0a8067aef481ce4f9ad45e9864033e0f Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 3 Mar 2014 22:50:21 -0800 Subject: [PATCH] comment webkit transform hack for GPU rendering --- public/css/style.css.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/css/style.css.less b/public/css/style.css.less index 62c708b..cb58b80 100644 --- a/public/css/style.css.less +++ b/public/css/style.css.less @@ -135,7 +135,13 @@ header.primary { } nav { + + /* Fix font rendering bugs in Safari. In this case, font weight differences + * with the #octocat's fixed position, font weight in landscape on iPhone, + * and probably other ones I hadn't discovered yet. + */ -webkit-transform: translate3d(0, 0, 0); + padding-top: 0.5rem; clear: left; font-size: 1.1rem;