Fix padding for black theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -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}
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user