Fix nav item icon width and alignment
This commit is contained in:
@@ -65,7 +65,7 @@ import {
|
|||||||
} from '#/components/icons/UserCircle'
|
} from '#/components/icons/UserCircle'
|
||||||
import {router} from '../../../routes'
|
import {router} from '../../../routes'
|
||||||
|
|
||||||
const NAV_ICON_WIDTH = 28
|
const NAV_ICON_WIDTH = 24
|
||||||
|
|
||||||
function ProfileCard() {
|
function ProfileCard() {
|
||||||
const {currentAccount} = useSession()
|
const {currentAccount} = useSession()
|
||||||
@@ -450,11 +450,8 @@ const styles = StyleSheet.create({
|
|||||||
gap: 10,
|
gap: 10,
|
||||||
},
|
},
|
||||||
navItemIconWrapper: {
|
navItemIconWrapper: {
|
||||||
alignItems: 'center',
|
width: 24,
|
||||||
justifyContent: 'center',
|
|
||||||
width: 28,
|
|
||||||
height: 24,
|
height: 24,
|
||||||
marginTop: 2,
|
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
},
|
},
|
||||||
navItemIconWrapperTablet: {
|
navItemIconWrapperTablet: {
|
||||||
|
|||||||
Reference in New Issue
Block a user