Skip to content

Commit

Permalink
fix: 보더 삭제에 따른 카운트 위치 조정
Browse files Browse the repository at this point in the history
  • Loading branch information
Byukchong committed Jul 31, 2024
1 parent af10049 commit 68603a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Layout/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default function NavigationBar() {
}

return (
<div className="sticky top-0 flex h-[70px] justify-center items-center z-30 px-[24px] t:px-[24px] m:px-[24px] border-b bg-white dark:bg-var-dark1 border-var-gray3">
<div className="sticky top-0 flex h-[70px] justify-center items-center z-30 px-[24px] t:px-[24px] m:px-[24px] border-b border-solid bg-white border-var-gray3 dark:bg-var-dark1 dark:border-var-dark1">
<div className="w-[1200px] flex justify-between items-center ">
<div className="flex items-center">
<Link href="/">
Expand All @@ -84,7 +84,7 @@ export default function NavigationBar() {
<Image src={notificationIcon} alt="알림 아이콘" />
{data?.totalCount !== undefined && data?.totalCount > 0 && (
<span className="absolute top-[-7px] right-[-7px] flex items-center justify-center bg-red-500 w-[15px] h-[15px] text-white text-[12px] rounded-full">
<p className="translate-y-[-4%] translate-x-[-10%]">
<p className="translate-y-[2%] translate-x-[-10%]">
{data.totalCount}
</p>
</span>
Expand Down

0 comments on commit 68603a3

Please sign in to comment.