From 4446e73fda725ccad696d20366b6ea807e2a5a75 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 16:24:07 +0800 Subject: [PATCH 1/3] remove button border-radius fallback --- components/button/button.jsx | 5 ----- components/button/index.md | 14 -------------- site/templates/layout.html | 3 --- 3 files changed, 22 deletions(-) diff --git a/components/button/button.jsx b/components/button/button.jsx index 59111b7605..28c582c2b9 100644 --- a/components/button/button.jsx +++ b/components/button/button.jsx @@ -25,11 +25,6 @@ function insertSpace(child) { } export default class Button extends React.Component { - componentDidMount() { - if (window && window.PIE) { - window.PIE.attach(findDOMNode(this)); - } - } handleClick(...args) { const buttonNode = findDOMNode(this); buttonNode.className = buttonNode.className.replace(`${prefix}clicked`, ''); diff --git a/components/button/index.md b/components/button/index.md index d869c820b7..4f945f586a 100644 --- a/components/button/index.md +++ b/components/button/index.md @@ -29,17 +29,3 @@ loading | 设置按钮载入状态 | boolean | false onClick | `click` 事件的 handler | function | `function() {}` - `` 最终会被渲染为 ``,并且除了上表中的属性,其它属性都会直接传到 `` - - -### IE8 border radius support - -Ant Design 视觉上采用渐进降级的方案,在 IE8 下圆角按钮将降级为直角。 -如果强烈需要圆角按钮,我们提供了 [css3pie](http://css3pie.com/) 的兼容方案。 - -使用时只需在 html 头部加入以下代码即可。 - -```html - -``` diff --git a/site/templates/layout.html b/site/templates/layout.html index b47c4b672a..34337cb21c 100644 --- a/site/templates/layout.html +++ b/site/templates/layout.html @@ -13,9 +13,6 @@ {% block styles %}{% endblock %} -