Updated PullToRefresher/ptr styles, padding

• Updated:
- PullToRefresher/ptr styles, padding
This commit is contained in:
mgabdev 2020-11-05 11:36:07 -06:00
parent 3486158695
commit c34fdb2dd4
2 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class PullToRefresher extends React.PureComponent {
const ptr = PullToRefresh.init({
mainElement: 'body',
distMax: 110,
distMax: 130,
onRefresh: this.handleOnRefresh,
instructionsPullToRefresh: ReactDOMServer.renderToString(
<Text {...textProps}>Pull to Refresh</Text>

View File

@ -941,8 +941,12 @@ pre {
min-height: 110px !important;
}
:global(.ptr--ptr.ptr--pull.ptr--release) {
:global(.ptr--content) {
padding-top: 15px !important;
}
:global(.ptr--ptr.ptr--pull.ptr--release) {
padding-top: env(safe-area-inset-top, 0);
padding-bottom: 5px !important;
min-height: 110px;
box-shadow: none !important;