Skip to content

Commit b232514

Browse files
committed
fix: fix tab title wrapping (#11)
1 parent 9799626 commit b232514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-navigation-visualizer/webui/src/NavigationTree.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const Spacer = styled.div({
9292

9393
const LeafContainer = styled.div<{ color: string }>(({ color }) => ({
9494
display: 'flex',
95-
flex: 1,
95+
flexGrow: 1,
9696
borderRadius: 4,
9797
backgroundColor: color,
9898
alignItems: 'center',
@@ -102,7 +102,7 @@ const LeafContainer = styled.div<{ color: string }>(({ color }) => ({
102102

103103
const SelectedLeafContainer = styled.div<{ color: string }>(({ color }) => ({
104104
display: 'flex',
105-
flex: 1,
105+
flexGrow: 1,
106106
padding: 4,
107107
border: 'dashed',
108108
borderColor: color,

0 commit comments

Comments
 (0)