Skip to content

Commit

Permalink
style: 优化半屏组件UI
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Jul 16, 2019
1 parent 9fd428a commit 5dcca15
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
13 changes: 10 additions & 3 deletions dist/style/weui.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/style/weui.min.css

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion src/style/widget/weui-tips/weui-half-screen-dialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
}
.weui-half-screen-dialog__hd__side{
position:relative;
left:-8px;
}
.weui-half-screen-dialog__hd__main {
flex:1;
Expand All @@ -56,6 +57,8 @@
padding:0 40px;
}
& + .weui-half-screen-dialog__hd__side{
right:-8px;
left:auto;
.weui-icon-btn{
right:0;
}
Expand All @@ -80,6 +83,7 @@
.weui-half-screen-dialog__desc {
padding-top:4px;
font-size:17px;
font-weight:700;
color:rgba(0,0,0,.9);
line-height:1.4;
}
Expand All @@ -92,7 +96,8 @@
.weui-half-screen-dialog__ft {
padding:40px 24px 32px;
text-align:center;
.weui-btn{
.weui-btn:nth-last-child(n+2),
.weui-btn:nth-last-child(n+2) ~ .weui-btn{
display:inline-block;
vertical-align:top;
margin:0 8px;
Expand Down

0 comments on commit 5dcca15

Please sign in to comment.