Skip to content

Commit

Permalink
feat(module: styles): sync with ant design mobile of react (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy committed Apr 29, 2019
1 parent dcf4a61 commit 5c77b8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/action-sheet/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
bottom: 0;
width: 100%;
background-color: @fill-base;
padding-bottom: env(safe-area-inset-bottom);

&&-share {
background-color: #f2f2f2;
Expand Down Expand Up @@ -37,6 +38,7 @@

&-item {
font-size: @actionsheet-item-font-size;
padding: 0 8 * @hd;
padding: 0;
margin: 0;
position: relative;
Expand All @@ -45,6 +47,7 @@
box-sizing: border-box;
white-space: nowrap;
text-overflow: ellipsis;
// overflow-x: hidden;
.hairline('top');
&&-active {
background-color: @fill-tap;
Expand Down
4 changes: 4 additions & 0 deletions components/modal/style/Dialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
&-slide-up {
bottom: 0;
}

.@{modalPrefixClass}-content {
padding-bottom: env(safe-area-inset-bottom);
}
}

&-title {
Expand Down

0 comments on commit 5c77b8c

Please sign in to comment.