From 41909b030bd4347e608b7200a0bcef04b947dcf2 Mon Sep 17 00:00:00 2001 From: HaoJu Zheng Date: Wed, 29 Apr 2015 15:03:09 +0800 Subject: [PATCH] fix bug for input range, support IE10&11 --- README.md | 5 +++-- css/style.css | 6 ++++++ js/app.js | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e21baa8..de02475 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,14 @@ https://github.com/foru17/luolei-dotfiles/blob/master/feedly.opml ==== -#### [前端收集图谱](http://get-set.cn/front-end-chart/) +#### [前端收集图谱](http://get-set.cn/front-end-collect/) - clone https://github.com/hjzheng/front-end-collect - cd front-end-collect - bower install - 放入你喜欢的web容器,访问index.html即可 -- 你也直接可以访问: http://get-set.cn/front-end-chart/ +- 你也直接可以访问: http://get-set.cn/front-end-collect/ +- 支持Chrome, Firefox and IE10&11以上浏览器 ![image](https://raw.githubusercontent.com/hjzheng/front-end-collect/master/img/front-end-chart.png) diff --git a/css/style.css b/css/style.css index 0f95623..9b6a965 100644 --- a/css/style.css +++ b/css/style.css @@ -69,3 +69,9 @@ a:hover { text-decoration: none; } + +/*fix IE10, IE11 type=range can not display in bootstrap style*/ +input[type=range] { + width: 200px\0; + display: inline; +} diff --git a/js/app.js b/js/app.js index 809ccb7..0693737 100644 --- a/js/app.js +++ b/js/app.js @@ -157,7 +157,7 @@ angular.module('frontEnd', []) //Update the tooltip position and value d3.select("#tooltip") .style("left", 10 + "px") - .style("top", 20 + "px") + .style("top", 40 + "px") .select("#desc") .text(d.description)