From 1fbd666579b23205b342e0437b136a10e1380131 Mon Sep 17 00:00:00 2001 From: wlh Date: Tue, 9 Dec 2014 13:26:29 +0800 Subject: [PATCH] fix bugs on mobile --- t/css/main.css | 4 ++-- t/lib/main.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/t/css/main.css b/t/css/main.css index 8d99569..61c0969 100644 --- a/t/css/main.css +++ b/t/css/main.css @@ -32,7 +32,7 @@ header div:nth-child(1){ position: absolute; top:10px; left:3px; - right: 60px; + right: 50px; height:40px; } @@ -45,7 +45,7 @@ header div:nth-child(1){ outline-style: none; font-size:15px; font-family:'georgia', "微软雅黑"; - -webkit-tap-highlight-color: #FFF; + -webkit-tap-highlight-color: #000; box-sizing:border-box; -moz-box-sizing:border-box; /* Firefox */ -webkit-box-sizing:border-box; /* Safari */ diff --git a/t/lib/main.js b/t/lib/main.js index 707f3b2..461ac31 100644 --- a/t/lib/main.js +++ b/t/lib/main.js @@ -1,4 +1,5 @@ var app = angular.module('app', ['ngRoute']); +window.scrollTo(0, 0); app.run(function($rootScope){ $rootScope.version = '0.1';