Skip to content

Commit

Permalink
notify 的时候内容并不能居中显示
Browse files Browse the repository at this point in the history
div使用的是fixed定位,并且width 100%,padding 有值, 造成盒子变宽,内容居中显示靠右
  • Loading branch information
falost authored Jul 16, 2018
1 parent 205bda7 commit 3719829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/components/dialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
position: fixed;
top: 0;
left: 0;
width: 100%;
right: 0;
background-color: rgba(40, 40, 40, .85);
line-height: .28rem;
font-size: .26rem;
Expand Down

0 comments on commit 3719829

Please sign in to comment.