Updated PullToRefresher/ptr styles, padding
• Updated: - PullToRefresher/ptr styles, padding
This commit is contained in:
parent
3486158695
commit
c34fdb2dd4
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue