Skip to content

Commit

Permalink
iphone tabbar
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Nov 6, 2017
1 parent 3c4dc85 commit 006a6be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/example/example.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/example/example.less
Original file line number Diff line number Diff line change
Expand Up @@ -451,5 +451,13 @@ body, .page {
@supports (constant(safe-area-inset-top)){
.page{
padding:constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
&.tabbar{
padding-left:0;
padding-right:0;
}
}
.weui-tab__panel{
padding-left:constant(safe-area-inset-left);
padding-right:constant(safe-area-inset-right);
}
}

0 comments on commit 006a6be

Please sign in to comment.