Fix left nav alignment
This commit is contained in:
@@ -204,7 +204,9 @@ function NavItem({count, href, icon, iconFilled, label}: NavItemProps) {
|
|||||||
) : null}
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
{isDesktop && (
|
{isDesktop && (
|
||||||
<Text type="title" style={[isCurrent ? s.bold : s.normal, pal.text]}>
|
<Text
|
||||||
|
type="title"
|
||||||
|
style={[isCurrent ? s.bold : s.normal, pal.text, {top: -1}]}>
|
||||||
{label}
|
{label}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
@@ -437,8 +439,7 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
width: 28,
|
width: 28,
|
||||||
height: 24,
|
height: 28,
|
||||||
marginTop: 2,
|
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
},
|
},
|
||||||
navItemIconWrapperTablet: {
|
navItemIconWrapperTablet: {
|
||||||
|
|||||||
Reference in New Issue
Block a user