File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -232,18 +232,18 @@ export default {
232232 }
233233
234234 .list {
235- margin : 0 -4 px ;
235+ margin : 0 -16 px ;
236236 padding : 0 ;
237237
238238 @media only screen and (min-width : 768px ) {
239239 display : flex ;
240- justify-content : space-between ;
240+ justify-content : flex-start ;
241241 }
242242
243243 li {
244244 display : block ;
245245 margin-top : 16px ;
246- padding : 0 4 px ;
246+ padding : 0 16 px ;
247247
248248 @media only screen and (min-width : 768px ) {
249249 margin-top : 0 ;
Original file line number Diff line number Diff line change @@ -110,21 +110,21 @@ export default {
110110 }
111111 const perDayConfirmed = getPerDay ( Object . entries ( result . timelines . confirmed . timeline ) )
112112 const perDayDeaths = getPerDay ( Object . entries ( result . timelines . deaths . timeline ) )
113- const perDayRecovered = getPerDay ( Object . entries ( result . timelines . recovered . timeline ) )
113+ // const perDayRecovered = getPerDay(Object.entries(result.timelines.recovered.timeline))
114114 const perDayCases = Object . entries ( perDayConfirmed ) . map ( o => {
115115 let summary = ''
116- if ( o [ 1 ] || perDayDeaths [ o [ 0 ] ] || perDayRecovered [ o [ 0 ] ] ) {
116+ if ( o [ 1 ] || perDayDeaths [ o [ 0 ] ] ) {
117117 if ( o [ 1 ] ) {
118118 summary += `${ isPlural ( 'confirmed' , o [ 1 ] , 'confirmed case' ) } `
119119 }
120120 if ( perDayDeaths [ o [ 0 ] ] ) {
121- summary += o [ 1 ] && perDayRecovered [ o [ 0 ] ] ? ', ' : o [ 1 ] ? ' and ' : ''
121+ summary += o [ 1 ] ? ' and ' : '' // o[1] && perDayRecovered[o[0]] ? ', ' : o[1] ? ' and ' : ''
122122 summary += `${ isPlural ( 'deaths' , perDayDeaths [ o [ 0 ] ] , 'death' ) } `
123123 }
124- if ( perDayRecovered [ o [ 0 ] ] ) {
125- summary += o [ 1 ] || perDayDeaths [ o [ 0 ] ] ? ' and ' : ''
126- summary += `<span class="recovered">${ perDayRecovered [ o [ 0 ] ] } </span> recovered`
127- }
124+ // if (perDayRecovered[o[0]]) {
125+ // summary += o[1] || perDayDeaths[o[0]] ? ' and ' : ''
126+ // summary += `<span class="recovered">${perDayRecovered[o[0]]}</span> recovered`
127+ // }
128128 }
129129 return {
130130 timestamp : formatDate ( o [ 0 ] ) ,
You can’t perform that action at this time.
0 commit comments