From ae1fd4995443b5805ec96510b1ef90e1b345abc0 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Wed, 28 Sep 2011 23:26:00 -0700 Subject: [PATCH] force hardware acceleration for speedier typing on mobile webkit browsers --- public/stylesheets/sass/mobile.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/stylesheets/sass/mobile.scss b/public/stylesheets/sass/mobile.scss index 4b0235ec5..ff32b3c07 100644 --- a/public/stylesheets/sass/mobile.scss +++ b/public/stylesheets/sass/mobile.scss @@ -32,7 +32,6 @@ body { max-width: 700px; } - .stream_element, .comments { overflow: auto; @@ -259,6 +258,9 @@ header { z-index: 10; top: 0; + /* force hardware acceleration on webkit browsers */ + -webkit-transform: translateZ(0); + border: { bottom: 1px solid #222; } @@ -266,6 +268,11 @@ header { .right { float: right; } } +.stream_element { + /* force hardware acceleration on webkit browsers */ + -webkit-transform: translateZ(0); +} + footer { text-align: center; a,