Increase width
This commit is contained in:
@@ -180,12 +180,14 @@ function NavItem({count, href, icon, iconFilled, label}: NavItemProps) {
|
|||||||
accessibilityLabel={_(msg`${count} unread items`)}
|
accessibilityLabel={_(msg`${count} unread items`)}
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
accessible={true}
|
accessible={true}
|
||||||
|
numberOfLines={1}
|
||||||
style={[
|
style={[
|
||||||
a.absolute,
|
a.absolute,
|
||||||
a.text_xs,
|
a.text_xs,
|
||||||
a.font_bold,
|
a.font_bold,
|
||||||
a.rounded_full,
|
a.rounded_full,
|
||||||
a.text_center,
|
a.text_center,
|
||||||
|
a.leading_tight,
|
||||||
{
|
{
|
||||||
top: '-10%',
|
top: '-10%',
|
||||||
left: count.length === 1 ? '50%' : '40%',
|
left: count.length === 1 ? '50%' : '40%',
|
||||||
@@ -323,7 +325,6 @@ export function DesktopLeftNav() {
|
|||||||
role="navigation"
|
role="navigation"
|
||||||
style={[
|
style={[
|
||||||
a.px_xl,
|
a.px_xl,
|
||||||
a.pr_5xl,
|
|
||||||
styles.leftNav,
|
styles.leftNav,
|
||||||
isTablet && styles.leftNavTablet,
|
isTablet && styles.leftNavTablet,
|
||||||
pal.view,
|
pal.view,
|
||||||
|
|||||||
Reference in New Issue
Block a user