@@ -2,7 +2,7 @@ import styled from 'styled-components';
22import colors from '../../../lib/styles/colors' ;
33import { Link } from 'react-router-dom' ;
44
5- export const PostListHeader = styled . header `
5+ export const PostListHeader = styled . header `
66 display: flex;
77 align-items: center;
88 width: 90%;
@@ -14,7 +14,7 @@ export const PostListHeader = styled.header`
1414 }
1515` ;
1616
17- export const PostListTable = styled . table `
17+ export const PostListTable = styled . table `
1818 display: flex;
1919 flex-direction: column;
2020 width: 90%;
@@ -32,7 +32,7 @@ export const PostListTable = styled.table`
3232 }
3333` ;
3434
35- export const PostListHead = styled . tr `
35+ export const PostListHead = styled . tr `
3636 position: relative;
3737 cursor: default;
3838 display: flex;
@@ -87,7 +87,7 @@ export const PostListHead = styled.tr`
8787 }
8888` ;
8989
90- export const NewIcon = styled . span `
90+ export const NewIcon = styled . span `
9191 background-color: ${ colors . red [ 0 ] } ;
9292 opacity: 0.8;
9393 color: white;
@@ -114,14 +114,16 @@ export const NewIcon = styled.span`
114114 }
115115` ;
116116
117- export const StyledTitleLink = styled ( Link ) `
117+ // eslint-disable-next-line
118+ export const StyledTitleLink = styled ( Link )
119+ `
118120 white-space: nowrap;
119121 overflow: hidden;
120122 text-overflow: ellipsis;
121123 color: ${ colors . brown [ 1 ] } ;
122124` ;
123125
124- export const PostListRow = styled . tr `
126+ export const PostListRow = styled . tr `
125127 position: relative;
126128 cursor: default;
127129 display: flex;
@@ -156,21 +158,21 @@ export const PostListRow = styled.tr`
156158 }
157159` ;
158160
159- export const WriterIcon = styled . i `
161+ export const WriterIcon = styled . i `
160162 display: none;
161163 @media (max-width: 768px) {
162164 display: inline-block;
163165 }
164166` ;
165167
166- export const DateIcon = styled . i `
168+ export const DateIcon = styled . i `
167169 display: none;
168170 @media (max-width: 768px) {
169171 display: inline-block;
170172 }
171173` ;
172174
173- export const SubInfoContainer = styled . td `
175+ export const SubInfoContainer = styled . td `
174176 display: flex;
175177 position: absolute;
176178 right: 0;
@@ -186,7 +188,7 @@ export const SubInfoContainer = styled.td`
186188 }
187189` ;
188190
189- export const PostListRowAuthor = styled . div `
191+ export const PostListRowAuthor = styled . div `
190192 display: flex;
191193 align-items: center;
192194 justify-content: center;
@@ -203,7 +205,7 @@ export const PostListRowAuthor = styled.div`
203205 }
204206` ;
205207
206- export const PostListRowDate = styled . div `
208+ export const PostListRowDate = styled . div `
207209 display: flex;
208210 align-items: center;
209211 justify-content: center;
@@ -221,11 +223,11 @@ export const PostListRowDate = styled.div`
221223 }
222224` ;
223225
224- export const Title = styled . div `
226+ export const Title = styled . div `
225227 display: flex;
226228` ;
227229
228- export const CommentCount = styled . span `
230+ export const CommentCount = styled . span `
229231 display: flex;
230232 align-items: center;
231233 justify-content: center;
@@ -239,16 +241,18 @@ export const CommentCount = styled.span`
239241 }
240242` ;
241243
242- export const StyledLink = styled ( Link ) `
244+ // eslint-disable-next-line
245+ export const StyledLink = styled ( Link )
246+ `
243247 color: ${ colors . brown [ 1 ] } ;
244248` ;
245249
246- export const MemberLink = styled ( Link ) `
250+ export const MemberName = styled . p `
247251 color: ${ colors . brown [ 1 ] } ;
248252 transition: 0.25s ease-in;
249253 &:hover {
250254 text-decoration: none;
251255 color: ${ colors . brown [ 0 ] } ;
252256 transition: 0.25s ease-in;
253257 }
254- ` ;
258+ ` ;
0 commit comments