diff --git a/src/app/styles/pages-styles.scss b/src/app/styles/pages-styles.scss index 36882b1..d106a92 100644 --- a/src/app/styles/pages-styles.scss +++ b/src/app/styles/pages-styles.scss @@ -833,6 +833,10 @@ padding: 15px 16px; } } + + &:has(.column-location) { + width: 250px; + } } .column { @@ -906,6 +910,16 @@ } } +/* &:has(.column-location) { + width: 250px; + } */ + + .column-location { + width: 250px; + margin: 0 auto; + overflow: hidden; + } + .table-item-file-name-image-wrapper { width: 40px; height: 40px; diff --git a/src/app/ui/tracking-page/tracking-history-view.tsx b/src/app/ui/tracking-page/tracking-history-view.tsx index 94e1cfc..ec90759 100644 --- a/src/app/ui/tracking-page/tracking-history-view.tsx +++ b/src/app/ui/tracking-page/tracking-history-view.tsx @@ -96,9 +96,9 @@ export function TrackingHistoryView() { return (
- {t('city')}: {translatedCity} + {t('city')}: {translatedCity}
- {t('country')}: {translatedCountry} + {t('country')}: {translatedCountry}
); } @@ -247,7 +247,7 @@ export function TrackingHistoryView() { ), cell: ({ row }) => { return ( -
+
{row.original.country === 'unknow/unknow' ? ( t('not-defined') ) : ( @@ -260,7 +260,7 @@ export function TrackingHistoryView() { ], [] ); - /* `${editLocationName(row.original.country)}` */ + // Создание таблицы const table = useReactTable({ data: tableData,