-
Notifications
You must be signed in to change notification settings - Fork 5
fix: 마이페이지 > 내가 쓴 글, 내가 쓴 댓글 케밥 드롭다운 버그 수정 등 #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,37 +66,40 @@ const BoardComment = ({ | |
| ]; | ||
|
|
||
| return ( | ||
| <Link href={`work-talk/${postId}`}> | ||
| <div className="relative flex h-[202px] w-[327px] flex-col gap-2 rounded-[16px] border border-line-200 bg-grayscale-50 p-6 shadow-md transition-transform hover:scale-105 md:w-[600px] lg:h-[264px] lg:w-full"> | ||
| {/* Post Section */} | ||
| <div className="flex w-full flex-col gap-4 border-b border-line-100 pb-2 lg:pb-4"> | ||
| <div className="flex items-center gap-[6px] lg:gap-2"> | ||
| <Image | ||
| src="/icons/document/document.svg" | ||
| alt="Icon" | ||
| className="size-6 rounded-full lg:size-9" | ||
| width={24} | ||
| height={24} | ||
| /> | ||
| <span className="text-[12px] text-black-100 lg:text-[16px]">{postTitle}</span> | ||
| <div className="relative"> | ||
| <Link href={`work-talk/${postId}`}> | ||
| <div className="relative flex h-[202px] w-[327px] flex-col gap-2 rounded-[16px] border border-line-200 bg-grayscale-50 p-6 shadow-md transition-transform hover:scale-105 md:w-[600px] lg:h-[264px] lg:w-full"> | ||
| {/* Post Section */} | ||
| <div className="flex w-full flex-col gap-4 border-b border-line-100 pb-2 lg:pb-4"> | ||
| <div className="flex items-center gap-[6px] lg:gap-2"> | ||
| <Image | ||
| src="/icons/document/document.svg" | ||
| alt="Icon" | ||
| className="size-6 rounded-full lg:size-9" | ||
| width={24} | ||
| height={24} | ||
| /> | ||
| <span className="text-[12px] text-black-100 lg:text-[16px]">{postTitle}</span> | ||
| </div> | ||
| <p className="text-[12px] text-grayscale-500 lg:text-[16px]">{postContent}</p> | ||
| </div> | ||
| <p className="text-[12px] text-grayscale-500 lg:text-[16px]">{postContent}</p> | ||
| </div> | ||
|
|
||
| {/* Comment Section */} | ||
| <div className="flex flex-col gap-3 py-1 lg:py-4"> | ||
| <div className="line-clamp-2 overflow-hidden text-[14px] font-semibold md:h-[50px] lg:text-[18px]"> | ||
| {comment} | ||
| </div> | ||
| <div className="line-clamp-2 text-[12px] font-medium text-grayscale-500 lg:text-[16px]"> | ||
| {formatLocalDate(updatedAt)} | ||
| {/* Comment Section */} | ||
| <div className="flex flex-col gap-3 py-1 lg:py-4"> | ||
| <div className="line-clamp-2 overflow-hidden text-[14px] font-semibold md:h-[50px] lg:text-[18px]"> | ||
| {comment} | ||
| </div> | ||
| <div className="line-clamp-2 text-[12px] font-medium text-grayscale-500 lg:text-[16px]"> | ||
| {formatLocalDate(updatedAt)} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div className="absolute right-6 flex items-center justify-center"> | ||
| {isAuthor && <KebabDropdown options={dropdownOptions} />} | ||
| </div> | ||
| </Link> | ||
| {/* 케밥 메뉴를 Link 밖으로 이동 */} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
| <div className="absolute right-6 top-6 size-9 bg-white text-center"> | ||
| {isAuthor && <KebabDropdown options={dropdownOptions} />} | ||
| </div> | ||
| </Link> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
로딩을 해줘야하는거였군요!!