Client: minor style fix

This commit is contained in:
Sam 2018-06-13 20:35:31 +02:00
parent 066a05c57f
commit 1da889d02a
3 changed files with 6 additions and 3 deletions

View File

@ -152,6 +152,7 @@ class ActivityCharts extends React.Component {
fill="#e5e5e5" fill="#e5e5e5"
stroke="#cccccc" stroke="#cccccc"
dot={false} dot={false}
unit=" m"
/> />
)} )}
{this.displayData('speed') && ( {this.displayData('speed') && (
@ -162,6 +163,7 @@ class ActivityCharts extends React.Component {
stroke="#8884d8" stroke="#8884d8"
strokeWidth={2} strokeWidth={2}
dot={false} dot={false}
unit=" km/h"
/> />
)} )}
<Tooltip <Tooltip

View File

@ -66,7 +66,7 @@ class ActivityDisplay extends React.Component {
<div> <div>
<div className="row"> <div className="row">
<div className="col"> <div className="col">
<div className="card"> <div className="card activity-card">
<div className="card-header"> <div className="card-header">
<ActivityCardHeader <ActivityCardHeader
activity={activity} activity={activity}
@ -94,7 +94,7 @@ class ActivityDisplay extends React.Component {
{activity.with_gpx && ( {activity.with_gpx && (
<div className="row"> <div className="row">
<div className="col"> <div className="col">
<div className="card"> <div className="card activity-card">
<div className="card-body"> <div className="card-body">
<div className="row"> <div className="row">
<div className="col"> <div className="col">

View File

@ -1,5 +1,6 @@
.App { .App {
background-color: #eaeaea; background-color: #eaeaea;
padding-bottom: 20px;
min-height: 100vh; min-height: 100vh;
text-align: center; text-align: center;
} }
@ -84,7 +85,7 @@ label {
} }
.activities-result { .activities-result {
font-size: 0.9em; font-size: 0.85em;
} }
.activity-sport { .activity-sport {