Skip to content

Commit

Permalink
Merge pull request #1376 from andrew-bierman/fix-editabletext
Browse files Browse the repository at this point in the history
Fix editabletext
  • Loading branch information
taronaleksanian authored Dec 18, 2024
2 parents d173b04 + 7643bab commit f92630a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/app/modules/pack/components/PackTable/ItemCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ export const ItemCard = ({
fontWeight: 'bold',
fontSize: 16,
color: currentTheme.colors.text,
flex: 1,
marginRight: 10,
}}
numberOfLines={1}
ellipsizeMode="tail"
>
{item.name}
</RText>
Expand Down
2 changes: 2 additions & 0 deletions packages/app/modules/pack/components/PackTable/ItemList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export const ItemList = ({
fontWeight: 'bold',
flexBasis: '25%',
}}
numberOfLines={1}
ellipsizeMode="tail"
>
{item.name}
</RText>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/EditableText/EditableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const EditableText = ({
fontWeight: 'bold',
color: '#0284c7',
pointerEvents: 'auto',
minWidth: 20,
}}
ref={inputRef}
onChange={handleChange}
Expand Down

0 comments on commit f92630a

Please sign in to comment.