Skip to content

Commit

Permalink
refactor: StyleList 관련 conflict 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
wukdddang committed Nov 10, 2023
1 parent 2a099e9 commit 8249a88
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/common/ListRow/ProfileListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ const ProfileListRow = ({
)
}

export const StyleList = styled(FlexBox)`
width: 100%;
export const StyleList = styled(FlexBox)<{
width?: number
height?: number
}>`
width: ${({ width }) => (width ? `${width}px` : '100%')};
height: ${({ height }) => (height ? `${height}px` : '')};
display: flex;
justify-content: space-between;
cursor: pointer;
Expand Down

0 comments on commit 8249a88

Please sign in to comment.