Merge pull request #319 from Bitcoin-com/wallet/task/566

Bug - 566 - Fees hidden on iPhone X
This commit is contained in:
Jean-Baptiste Dominguez 2018-09-04 14:14:41 +09:00 committed by GitHub
commit 57efbc3c63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -1,11 +1,11 @@
.fee-summary { .fee-summary {
position: relative; background-color: #F2F2F2;
box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%;
padding: 5px 12px 15px; padding: 5px 12px 15px;
box-sizing: border-box; position: relative;
background-color: #F2F2F2; width: 100%;
&:before { &:before {
content: ''; content: '';

View file

@ -6,8 +6,10 @@
} }
.fee-summary { .fee-summary {
position: absolute;
bottom: 92px; bottom: 92px;
bottom: calc(92px + constant(safe-area-inset-bottom)); /* iOS 11.0 */
bottom: calc(92px + env(safe-area-inset-bottom)); /* iOS 11.2 */
position: absolute;
} }
.shapeshift-banner, .bitpay-banner, .egifter-banner { .shapeshift-banner, .bitpay-banner, .egifter-banner {