Skip to content

Commit

Permalink
Fix borders, add bottom space
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Mar 18, 2024
1 parent 026e6d1 commit 3714ddb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/components/LikedByList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export function LikedByList({uri}: {uri: string}) {
onEndReachedThreshold={3}
renderItem={renderItem}
initialNumToRender={initialNumToRender}
contentContainerStyle={{borderWidth: 0}}
ListFooterComponent={() => (
<ListFooter
isFetching={isFetching && !isRefetching}
Expand All @@ -95,8 +94,6 @@ export function LikedByList({uri}: {uri: string}) {
onRetry={fetchNextPage}
/>
)}
// @ts-ignore our .web version only -prf
desktopFixedHeight
/>
) : (
<View style={[a.p_lg]}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Lists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function ListFooter({
a.border_t,
a.pb_lg,
t.atoms.border_contrast_low,
{height: 100},
{height: 180},
]}>
{isFetching ? (
<Loader size="xl" />
Expand Down
6 changes: 1 addition & 5 deletions src/screens/Profile/ProfileLabelerLikedBy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {LikedByList} from '#/components/LikedByList'
import {useSetMinimalShellMode} from '#/state/shell'
import {makeRecordUri} from '#/lib/strings/url-helpers'

import {atoms as a, useTheme, useBreakpoints} from '#/alf'
import {atoms as a, useBreakpoints} from '#/alf'

export function ProfileLabelerLikedByScreen({
route,
Expand All @@ -19,7 +19,6 @@ export function ProfileLabelerLikedByScreen({
const {name: handleOrDid} = route.params
const uri = makeRecordUri(handleOrDid, 'app.bsky.labeler.service', 'self')
const {_} = useLingui()
const t = useTheme()
const {gtMobile} = useBreakpoints()

useFocusEffect(
Expand All @@ -35,9 +34,6 @@ export function ProfileLabelerLikedByScreen({
a.w_full,
a.h_full_vh,
gtMobile && [
a.border_l,
a.border_r,
t.atoms.border_contrast_low,
{
maxWidth: 600,
},
Expand Down

0 comments on commit 3714ddb

Please sign in to comment.