Skip to content

Commit

Permalink
🐛 [bug]修复popup组件z-index问题.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanjingling0510 committed Apr 5, 2017
1 parent 4f171e5 commit b4c92c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/date_select/readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 时间选择器
## 时间选择器

[时间选择器](https://github.com/lockyang/react-cqtoolbox/tree/master/components/date_select)用于选择单点时间或时间范围

## 例子
### 例子
<!-- example -->
```jsx
//DateSelect 单点选择器
Expand Down
5 changes: 3 additions & 2 deletions components/font_icon/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[cqaso](http://cqaso.com/) Font Icon组件让图标文字更具语义和个性化,Font Icon组件并没有提供图标字体库,因为行内有更加专业的图标字体设计团队做这样的事情。Font Icon默认使用阿里的Iconfont字体库,如果您想更换字体库和使用Font Icon组件,就让我们一起来一探究竟吧。

![Button img](../../.github/fontIcon.png)
<img alt="Button img" src="../../.github/fontIcon.png" width="100%" />


<!-- example -->
import { FontIcon } from 'react-cqtoolbox/lib/font_icon';
Expand Down Expand Up @@ -68,4 +69,4 @@ Look here ! 如果你想在cqaso Font Icon组件的模板之上,想要引入
</div>);
3. 最后让我们一起看看效果。

![Button img](../../.github/fontIconTheme.png)
<img alt="Button img" src="../../.github/fontIconTheme.png" width="100%" />
1 change: 1 addition & 0 deletions components/popup/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
transform: translate(0, 10px);
opacity: 0;
position: absolute;
z-index: var(--z-index-high);
box-shadow: 0 1px 6px rgba(0,0,0,.2);
transition:
opacity var(--animation-duration) var(--animation-curve-default),
Expand Down

0 comments on commit b4c92c6

Please sign in to comment.