Skip to content

Commit

Permalink
Fix toast position bug (ant-design#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored and lixiaoyang1992 committed Apr 26, 2018
1 parent 5eb94cd commit b8cd7e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/toast/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
font-size: @font-size-base;
text-align: center;

> span {
max-width: 50%;
}

&&-mask {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
left: 0;
top: 0;

.@{toastPrefixCls}-notice {
max-width: 50%;
}
}

&&-nomask {
Expand Down

0 comments on commit b8cd7e3

Please sign in to comment.