diff --git a/src/pages/support/qna/list-page.tsx b/src/pages/support/qna/list-page.tsx index 4339b37..7e66dd1 100644 --- a/src/pages/support/qna/list-page.tsx +++ b/src/pages/support/qna/list-page.tsx @@ -23,16 +23,15 @@ export const QnaListPage = () => { const onIntersect: IntersectionObserverCallback = (entries: Array) => { entries.forEach((entry: IntersectionObserverEntry) => { - if(onActionIntersect){ - if(entry.isIntersecting){ - console.log('Element is now intersecting with the root.'); + if(entry.isIntersecting){ + console.log('Element is now intersecting with the root. [' + onActionIntersect + ']'); + if(onActionIntersect){ callList(); - } - else{ - console.log('Element is no longer intersecting with the root.'); - } + } + } + else{ + console.log('Element is no longer intersecting with the root.'); } - }); }; diff --git a/src/shared/ui/assets/css/style-fix.css b/src/shared/ui/assets/css/style-fix.css index 7510a13..db02118 100644 --- a/src/shared/ui/assets/css/style-fix.css +++ b/src/shared/ui/assets/css/style-fix.css @@ -139,4 +139,10 @@ main.home-main{ } .bottom-tabbar{ transition: all 0.5s ease-out; +} + +.inq-title-text{ + text-overflow: ellipsis; + overflow-x: hidden; + width: calc(100% - 18px); } \ No newline at end of file