Add border

This commit is contained in:
Dan Abramov
2024-01-12 22:45:17 +00:00
parent 99f67e721d
commit c68d7cb5e1
+5 -3
View File
@@ -117,7 +117,7 @@ function FeedsTabBarTablet(
return (
// @ts-ignore the type signature for transform wrong here, translateX and translateY need to be in separate objects -prf
<Animated.View
style={[pal.view, styles.tabBar, headerMinimalShellTransform]}
style={[pal.view, pal.border, styles.tabBar, headerMinimalShellTransform]}
onLayout={e => {
headerHeight.value = e.nativeEvent.layout.height
}}>
@@ -138,10 +138,12 @@ const styles = StyleSheet.create({
position: 'fixed',
zIndex: 1,
// @ts-ignore Web only -prf
left: 'calc(50% - 299px)',
width: 598,
left: 'calc(50% - 300px)',
width: 600,
top: 0,
flexDirection: 'row',
alignItems: 'center',
borderLeftWidth: 1,
borderRightWidth: 1,
},
})