Client: minor styles changes
This commit is contained in:
parent
1fce13b9d0
commit
1e1d968fdf
@ -41,6 +41,10 @@
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
a {
|
||||
color: #40578a;
|
||||
}
|
||||
|
||||
.card {
|
||||
text-align: left;
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { format } from 'date-fns'
|
||||
import React from 'react'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
@ -12,7 +13,7 @@ export default function ActivityCard (props) {
|
||||
<Link to={`/activities/${activity.id}`}>
|
||||
{sports.filter(sport => sport.id === activity.sport_id)
|
||||
.map(sport => sport.label)} -{' '}
|
||||
{activity.activity_date}
|
||||
{format(activity.activity_date, 'DD/MM/YYYY HH:mm')}
|
||||
</Link>
|
||||
</div>
|
||||
<div className="card-body">
|
||||
|
@ -85,7 +85,6 @@ class Statistics extends React.Component {
|
||||
<XAxis
|
||||
dataKey="date"
|
||||
interval={0} // to force to display all ticks
|
||||
label={{ value: 'date', offset: 0, position: 'bottom' }}
|
||||
/>
|
||||
<YAxis
|
||||
tickFormatter={value => displayedData === 'distance'
|
||||
|
Loading…
Reference in New Issue
Block a user