2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Fix font size in location column (#9230) (#9231)

(cherry picked from commit d5a176c121713da4c479da57b16df3507870f797)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2025-03-04 23:30:28 +11:00 committed by GitHub
parent 6fa6063639
commit 053b37ec3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,11 +65,14 @@ export function LocationColumn(props: TableColumnProps): TableColumn {
if (!location) { if (!location) {
return ( return (
<Text style={{ fontStyle: 'italic' }}>{t`No location set`}</Text> <Text
size='sm'
style={{ fontStyle: 'italic' }}
>{t`No location set`}</Text>
); );
} }
return <Text>{location.name}</Text>; return <Text size='sm'>{location.name}</Text>;
}, },
...props ...props
}; };