diff options
author | Hailey <me@haileyok.com> | 2024-06-04 11:31:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 19:31:54 +0100 |
commit | 9f001526d3ef52b2c079b1d6c17854f9315468a5 (patch) | |
tree | d8a0182c736e69a8ba6af6ef201852888db659e7 /src/view/com/notifications | |
parent | d6b8313932a62c45230bf63a5c2f3b10f8314584 (diff) | |
download | voidsky-9f001526d3ef52b2c079b1d6c17854f9315468a5.tar.zst |
Fix a few border nits (#4349)
* replace w/ hairline width * no border for placeholder * few notifications screen fixes tablet * still show the border on desktop * Simp --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/view/com/notifications')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index c632ed5dc..e2f12e84f 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -129,7 +129,11 @@ export function Feed({ ) } else if (item === LOADING_ITEM) { return ( - <View style={[pal.border, {borderTopWidth: hairlineWidth}]}> + <View + style={[ + pal.border, + !isTabletOrMobile && {borderTopWidth: hairlineWidth}, + ]}> <NotificationFeedLoadingPlaceholder /> </View> ) @@ -185,6 +189,7 @@ export function Feed({ desktopFixedHeight initialNumToRender={initialNumToRender} windowSize={11} + sideBorders={false} /> </View> ) |