File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { languageMetadata } from "../utils/translations"
8
8
// TODO set globally to apply to markdown files
9
9
const ExternalLink = styled . a `
10
10
&:after {
11
+ color: ${ ( props ) => props . theme . colors . primary } ;
11
12
margin-left: 0.125em;
12
13
margin-right: 0.3em;
13
14
display: inline-block;
Original file line number Diff line number Diff line change @@ -246,6 +246,8 @@ const Table = styled.div`
246
246
`
247
247
248
248
const Item = styled ( Link ) `
249
+ flex-direction: row;
250
+ justify-content: space-between;
249
251
color: ${ ( props ) => props . theme . colors . text } !important;
250
252
box-shadow: 0 1px 1px ${ ( props ) => props . theme . colors . tableItemBoxShadow } ;
251
253
margin-bottom: 1px;
@@ -268,10 +270,25 @@ const ItemNumber = styled.div`
268
270
const ItemTitle = styled . div ``
269
271
const ItemDesc = styled . p `
270
272
margin-bottom: 0;
271
- margin-left: auto;
273
+ opacity: 0.6;
274
+ `
275
+
276
+ const Flag = styled ( Twemoji ) `
277
+ margin-right: 0.5rem;
278
+ `
279
+
280
+ const RightContainer = styled . div `
281
+ display: flex;
282
+ align-items: right;
283
+ align-content: flex-start;
284
+ width: 25%;
285
+ margin-right: 1rem;
286
+ flex-wrap: wrap;
272
287
`
273
288
const LeftContainer = styled . div `
274
289
display: flex;
290
+ width: 75%;
291
+ margin-right: 2rem;
275
292
`
276
293
// TODO create generalized CardList / TableCard
277
294
// TODO prop if ordered list or unordered
@@ -285,9 +302,10 @@ const MeetupList = () => {
285
302
< ItemNumber > { idx + 1 } </ ItemNumber >
286
303
< ItemTitle > { meetup . title } </ ItemTitle >
287
304
</ LeftContainer >
288
- < ItemDesc >
289
- < Twemoji svg text = { meetup . emoji } /> { meetup . location }
290
- </ ItemDesc >
305
+ < RightContainer >
306
+ < Flag svg text = { meetup . emoji } />
307
+ < ItemDesc > { meetup . location } </ ItemDesc >
308
+ </ RightContainer >
291
309
</ Item >
292
310
)
293
311
} ) }
You can’t perform that action at this time.
0 commit comments