From 20ec00abf0629537acde923999684df5415bb93a Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 17 Mar 2016 15:21:41 +0800 Subject: [PATCH] site: update UI --- package.json | 2 +- site/common/styles/toc.less | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 81a0b23fea..99eafb262c 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "warning": "~2.1.0" }, "devDependencies": { - "antd-md-loader": "0.1.0-beta.10", + "antd-md-loader": "0.1.0-beta.11", "atool-build": "^0.5.0", "autoprefixer": "^6.3.3", "babel-cli": "^6.2.0", diff --git a/site/common/styles/toc.less b/site/common/styles/toc.less index 7b7dec34c7..0aaa78935f 100644 --- a/site/common/styles/toc.less +++ b/site/common/styles/toc.less @@ -40,16 +40,15 @@ } .toc-affix { - z-index: 9; + position: relative; + float: right; } .demos-anchor { color: #aaa; position: absolute; - margin-right: 24px; - top: 24px; - right: 0; - z-index: 100; + top: 0; + right: -18px; background: #fff; font-size: 12px;