diff --git a/frontend/app/components/UsabilityTesting/TestOverview.tsx b/frontend/app/components/UsabilityTesting/TestOverview.tsx index 3ef7b3948..e9e23e0cd 100644 --- a/frontend/app/components/UsabilityTesting/TestOverview.tsx +++ b/frontend/app/components/UsabilityTesting/TestOverview.tsx @@ -403,7 +403,7 @@ const Title = observer(({ testId, siteId }: any) => { return null; } - const truncatedDescr = + const truncatedDescr = uxtestingStore.instance?.description && uxtestingStore.instance.description.length > 250 && truncate ? uxtestingStore.instance?.description.substring(0, 250) + '...' : uxtestingStore.instance?.description; @@ -504,7 +504,7 @@ const Title = observer(({ testId, siteId }: any) => {
{truncatedDescr}
- {uxtestingStore.instance.description.length > 250 ? ( + {uxtestingStore.instance?.description && uxtestingStore.instance.description.length > 250 ? (
setTruncate(!truncate)}> {truncate ? 'Show more' : 'Show less'}
diff --git a/frontend/app/styles/global.scss b/frontend/app/styles/global.scss index c25d0cc7b..7c6ae7ec1 100644 --- a/frontend/app/styles/global.scss +++ b/frontend/app/styles/global.scss @@ -22,3 +22,11 @@ input.no-focus:focus { @apply inline-block; } } + +.lucide { + stroke-width: 1.5px; +} + +.ant-pagination-simple-pager input { + min-width: 80px; +}