Skip to content

Commit

Permalink
Faet: 헤더 fixed 디자인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JitHoon committed Nov 17, 2023
1 parent 6d54bd8 commit 7120cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Components/Chat/ChatHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ChatHeader = ({
};

return (
<div className="w-full sm:w-[425px] h-14 flex justify-between items-center py-8 bg-gray-200">
<div className="fixed w-full sm:w-[425px] h-14 flex justify-between items-center py-8 bg-gray-200">
<Image
src={'/icon_back.svg'}
alt="뒤로 가기"
Expand Down
2 changes: 1 addition & 1 deletion Components/Chat/RenderChats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const RenderChats = ({
}, [messages.length]);

return (
<ul className="w-full flex flex-col items-center mt-4 mb-16">
<ul className="w-full flex flex-col items-center my-16">
{messages.map((message, index) => {
const myUser = chatUsers.find((user) => user.id === message.userId);

Expand Down

0 comments on commit 7120cc0

Please sign in to comment.