Merge branch 'ptr-scrollbar' into 'main'

Add back styles to PTR

See merge request soapbox-pub/soapbox!3263
This commit is contained in:
Alex Gleason 2024-11-18 16:26:46 +00:00
commit 70a9886410
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,4 @@
.ptr,
.ptr__children {
@apply !overflow-visible;
}

View File

@ -2,6 +2,8 @@ import PTRComponent from 'react-simple-pull-to-refresh';
import Spinner from 'soapbox/components/ui/spinner.tsx'; import Spinner from 'soapbox/components/ui/spinner.tsx';
import './pull-to-refresh.css';
interface IPullToRefresh { interface IPullToRefresh {
onRefresh?: () => Promise<any>; onRefresh?: () => Promise<any>;
refreshingContent?: JSX.Element | string; refreshingContent?: JSX.Element | string;