Skip to content

Commit

Permalink
Merge pull request #69 from Funssion-SWM/develop
Browse files Browse the repository at this point in the history
Fix: 추천 관련 스타일 수정
  • Loading branch information
dongree authored Nov 9, 2023
2 parents 230e6a1 + db89487 commit 6b1f0dd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/memo/MemoSideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,14 @@ export default function MemoSideBar({
</>
)}
{currnetCategory === 'recommendation' && (
<div className="p-2">
<MemosGrid memos={recommendations} colNum={1} />
<div className="p-2 overflow-y-auto h-full">
{recommendations.length === 0 ? (
<p className="flex justify-center items-center h-full text-sm text-soma-grey-49">
해당 메모와 관련된 추천이 없습니다...
</p>
) : (
<MemosGrid memos={recommendations} colNum={1} />
)}
</div>
)}
</aside>
Expand Down

0 comments on commit 6b1f0dd

Please sign in to comment.