File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -573,10 +573,12 @@ function MenuItem(
573
573
{ badgeText && (
574
574
< Badge
575
575
text = { badgeText }
576
+ textStyles = { styles . textStrong }
576
577
badgeStyles = { [
577
578
styles . alignSelfCenter ,
579
+ styles . badgeBordered ,
578
580
brickRoadIndicator ? styles . mr2 : undefined ,
579
- focused || isHovered || pressed ? styles . buttonHoveredBG : { } ,
581
+ focused || isHovered || pressed ? styles . activeItemBadge : { } ,
580
582
badgeStyle ,
581
583
] }
582
584
/>
Original file line number Diff line number Diff line change @@ -826,6 +826,8 @@ const styles = (theme: ThemeColors) =>
826
826
borderWidth : 1 ,
827
827
borderRadius : variables . componentBorderRadiusSmall ,
828
828
borderColor : theme . border ,
829
+ paddingHorizontal : 12 ,
830
+ minHeight : 28 ,
829
831
} ,
830
832
831
833
badgeText : {
@@ -835,6 +837,10 @@ const styles = (theme: ThemeColors) =>
835
837
...whiteSpace . noWrap ,
836
838
} ,
837
839
840
+ activeItemBadge : {
841
+ borderColor : theme . buttonHoveredBG ,
842
+ } ,
843
+
838
844
border : {
839
845
borderWidth : 1 ,
840
846
borderRadius : variables . componentBorderRadius ,
You can’t perform that action at this time.
0 commit comments