Skip to content

Commit

Permalink
design : scroll 내려가던 거 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaeyeon1 committed Dec 10, 2024
1 parent 47cd776 commit cb43e09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/app/room/[roomId]/_related/session.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import styled from 'styled-components';

export const RoomTitle = styled.div`
font-size: 12px;
width: 100%;
padding: 8px 12px;
color: #000;
border-bottom: ${({ theme }) => `1px solid ${theme.colors.primary}`};
Expand Down
3 changes: 1 addition & 2 deletions frontend/app/room/[roomId]/_sections/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { AlignCenterRowStack } from '@/app/_components/common';
import { useContext } from 'react';
import { ChatContext, User } from '../_related/ChatProvider';
import { RoomTitle, UserCard, UserImage } from '../_related/session.styled';
import { UserCard, UserImage } from '../_related/session.styled';
import { UserComponent } from './UserComponent';

const Users = () => {
Expand All @@ -24,7 +24,6 @@ const Users = () => {

return (
<div style={{ display: 'flex', flexDirection: 'column', gap: '24px' }}>
<RoomTitle>{roomInfo?.Name}</RoomTitle>
{userRows.map((row, rowIndex) => (
<AlignCenterRowStack key={rowIndex} style={{ gap: '8px' }}>
{row.map((user, userIndex) =>
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/room/[roomId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Page = () => {
};

return (
<Layout style={{ height: '100vh' }}>
<Layout style={{ height: '100vh', padding: '0px 0px 48px 0px' }}>
<PigHeader onClick={handleGotoBack} />
<SessionContentContainer>
<Users />
Expand Down

0 comments on commit cb43e09

Please sign in to comment.