From 5a5c713a7646337be69a020062fa3bf38bea507d Mon Sep 17 00:00:00 2001 From: zholadev Date: Thu, 31 Oct 2024 15:23:19 +0500 Subject: [PATCH] fix: ui for russian lang --- .../src/features/app/blocks/trash/BaseTrashPage.tsx | 2 +- .../src/features/app/blocks/trash/SpaceTrashPage.tsx | 1 - .../src/features/app/blocks/view/list/ViewListItem.tsx | 2 +- .../features/app/components/setting/SettingDialog.tsx | 10 +++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/nextjs-app/src/features/app/blocks/trash/BaseTrashPage.tsx b/apps/nextjs-app/src/features/app/blocks/trash/BaseTrashPage.tsx index 184d76df80..f73c3deac4 100644 --- a/apps/nextjs-app/src/features/app/blocks/trash/BaseTrashPage.tsx +++ b/apps/nextjs-app/src/features/app/blocks/trash/BaseTrashPage.tsx @@ -116,7 +116,7 @@ export const BaseTrashPage = () => { tableColumns.push({ accessorKey: 'id', header: t('actions.title'), - size: 80, + size: 140, cell: ({ row }) => { const trashId = row.getValue('id'); return ( diff --git a/apps/nextjs-app/src/features/app/blocks/trash/SpaceTrashPage.tsx b/apps/nextjs-app/src/features/app/blocks/trash/SpaceTrashPage.tsx index 29699c858c..3420cf6d4e 100644 --- a/apps/nextjs-app/src/features/app/blocks/trash/SpaceTrashPage.tsx +++ b/apps/nextjs-app/src/features/app/blocks/trash/SpaceTrashPage.tsx @@ -246,7 +246,6 @@ export const SpaceTrashPage = () => { key={value} variant={resourceType === value ? 'default' : 'ghost'} size="sm" - className="w-16" onClick={() => handleResourceTypeChange(value as ResourceType.Space | ResourceType.Base) } diff --git a/apps/nextjs-app/src/features/app/blocks/view/list/ViewListItem.tsx b/apps/nextjs-app/src/features/app/blocks/view/list/ViewListItem.tsx index 757b1326ce..77b2fdced5 100644 --- a/apps/nextjs-app/src/features/app/blocks/view/list/ViewListItem.tsx +++ b/apps/nextjs-app/src/features/app/blocks/view/list/ViewListItem.tsx @@ -152,7 +152,7 @@ export const ViewListItem: React.FC = ({ view, removable, isActive }) => onClick={() => { setIsEditing(true); }} - className="flex justify-start" + className="flex justify-start text-wrap" > {t('view.action.rename')} diff --git a/apps/nextjs-app/src/features/app/components/setting/SettingDialog.tsx b/apps/nextjs-app/src/features/app/components/setting/SettingDialog.tsx index 22d0fe16ef..1f8b837575 100644 --- a/apps/nextjs-app/src/features/app/components/setting/SettingDialog.tsx +++ b/apps/nextjs-app/src/features/app/components/setting/SettingDialog.tsx @@ -21,31 +21,31 @@ export const SettingDialog = () => { - + {t('settings.account.tab')} {t('settings.setting.title')} {t('settings.notify.title')} {t('settings.integration.title')}