File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
src/frontend/src/components/friend Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const friends: Friend[] = [
2929const FriendsList = ( ) => {
3030 return (
3131 < S . FriendsList >
32+ < S . FriendCount > 모든 친구 - { friends . length } 명</ S . FriendCount >
3233 { friends . map ( ( friend , index ) => (
3334 < S . FriendItem key = { `${ friend . name } _${ index } ` } >
3435 < S . FriendProfileImage $imageUrl = { friend . profileImageUrl } >
Original file line number Diff line number Diff line change @@ -8,19 +8,24 @@ export const FriendsList = styled.ul`
88
99 width: 100%;
1010 margin-top: 0.8rem;
11+ padding: 0 2rem 0 3rem;
1112
1213 color: ${ ( { theme } ) => theme . colors . dark [ 300 ] } ;
1314` ;
1415
16+ export const FriendCount = styled ( ChipText ) `
17+ margin: 1.6rem 0 1rem;
18+ color: ${ ( { theme } ) => theme . colors . dark [ 300 ] } ;
19+ ` ;
20+
1521export const FriendItem = styled . li `
1622 cursor: pointer;
1723
1824 display: flex;
1925 align-items: center;
2026
2127 height: 6.2rem;
22- margin: 0 2rem 0 3rem;
23- padding: 1.6rem 1rem;
28+ border-top: 0.1rem solid ${ ( { theme } ) => theme . colors . dark [ 500 ] } ;
2429 border-radius: 0.4rem;
2530
2631 &:hover {
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const PendingFriendsList = () => {
3131
3232 return (
3333 < S . FriendsList >
34+ < S . FriendCount > 대기 중인 친구 - { friends . length } 명</ S . FriendCount >
3435 { friends . map ( ( friend , index ) => (
3536 < S . FriendItem key = { `${ friend . name } _${ index } ` } >
3637 < S . FriendInfoContainer >
Original file line number Diff line number Diff line change @@ -8,10 +8,16 @@ export const FriendsList = styled.ul`
88
99 width: 100%;
1010 margin-top: 0.8rem;
11+ padding: 0 2rem 0 3rem;
1112
1213 color: ${ ( { theme } ) => theme . colors . dark [ 300 ] } ;
1314` ;
1415
16+ export const FriendCount = styled ( ChipText ) `
17+ margin: 1.6rem 0 1rem;
18+ color: ${ ( { theme } ) => theme . colors . dark [ 300 ] } ;
19+ ` ;
20+
1521export const FriendItem = styled . li `
1622 cursor: pointer;
1723
@@ -20,8 +26,7 @@ export const FriendItem = styled.li`
2026 justify-content: space-between;
2127
2228 height: 6.2rem;
23- margin: 0 2rem 0 3rem;
24- padding: 1.6rem 1rem;
29+ border-top: 0.1rem solid ${ ( { theme } ) => theme . colors . dark [ 500 ] } ;
2530 border-radius: 0.4rem;
2631
2732 &:hover {
You can’t perform that action at this time.
0 commit comments