Fix padding for black theme

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-06-04 11:52:54 +02:00
parent 3037410bd5
commit ce67cb537f
9 changed files with 9 additions and 9 deletions

View File

@ -108,7 +108,7 @@ const Bookmarks: React.FC<IBookmarks> = ({ params }) => {
>
<PullToRefresh onRefresh={handleRefresh}>
<StatusList
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
statusIds={statusIds}
scrollKey='bookmarked_statuses'
hasMore={hasMore}

View File

@ -42,7 +42,7 @@ const CommunityTimeline = () => {
<Column className='-mt-3 sm:mt-0' label={intl.formatMessage(messages.title)} transparent={!isMobile}>
<PullToRefresh onRefresh={handleRefresh}>
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey={`${timelineId}_timeline`}
timelineId={`${timelineId}${onlyMedia ? ':media' : ''}`}
prefix='home'

View File

@ -66,7 +66,7 @@ const HashtagTimeline: React.FC<IHashtagTimeline> = ({ params }) => {
</List>
)}
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey='hashtag_timeline'
timelineId={`hashtag:${id}`}
onLoadMore={handleLoadMore}

View File

@ -63,7 +63,7 @@ const HomeTimeline: React.FC = () => {
<Column className='py-0' label={intl.formatMessage(messages.title)} transparent={!isMobile} withHeader={false}>
<PullToRefresh onRefresh={handleRefresh}>
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey='home_timeline'
onLoadMore={handleLoadMore}
timelineId='home'

View File

@ -53,7 +53,7 @@ const LandingTimeline = () => {
{timelineEnabled ? (
<PullToRefresh onRefresh={handleRefresh}>
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey={`${timelineId}_timeline`}
timelineId={timelineId}
prefix='home'

View File

@ -104,7 +104,7 @@ const ListTimeline: React.FC = () => {
transparent={!isMobile}
>
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey='list_timeline'
timelineId={`list:${id}`}
onLoadMore={handleLoadMore}

View File

@ -87,7 +87,7 @@ const CommunityTimeline = () => {
</div>}
<PullToRefresh onRefresh={handleRefresh}>
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey={`${timelineId}_timeline`}
timelineId={`${timelineId}${onlyMedia ? ':media' : ''}`}
prefix='home'

View File

@ -41,7 +41,7 @@ const Quotes: React.FC = () => {
return (
<Column label={intl.formatMessage(messages.heading)} transparent={!isMobile}>
<StatusList
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
statusIds={statusIds as ImmutableOrderedSet<string>}
scrollKey={`quotes:${statusId}`}
hasMore={hasMore}

View File

@ -67,7 +67,7 @@ const RemoteTimeline: React.FC<IRemoteTimeline> = ({ params }) => {
)}
<Timeline
className='black:p-4 black:sm:p-5'
className='black:p-4 black:sm:p-0'
scrollKey={`${timelineId}_${instance}_timeline`}
timelineId={`${timelineId}${onlyMedia ? ':media' : ''}:${instance}`}
onLoadMore={handleLoadMore}