minor style fix

This commit is contained in:
Sam 2019-01-07 11:47:51 +01:00
parent 066a0d79c7
commit ea4d15acc0
6 changed files with 14 additions and 7 deletions

View File

@ -12,5 +12,5 @@
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff",
"version": "0.1.1"
"version": "0.1.1-beta"
}

View File

@ -57,7 +57,7 @@ function FormWithGpx (props) {
gpxLimit} files max):
<input
accept=".gpx, .zip"
className="form-control input-lg"
className="form-control form-control-file gpx-file"
disabled={loading}
name="gpxFile"
required
@ -95,7 +95,7 @@ function FormWithGpx (props) {
<input
type="submit"
className="btn btn-secondary btn-lg btn-block"
onClick={() => history.go(-1)}
onClick={() => history.push('/')}
value="Cancel"
/>
</div>

View File

@ -123,7 +123,7 @@ function FormWithoutGpx (props) {
<input
type="submit"
className="btn btn-secondary btn-lg btn-block"
onClick={() => history.go(-1)}
onClick={() => history.push('/')}
value="Cancel"
/>
</form>

View File

@ -228,6 +228,10 @@ label {
width: 100%;
}
.gpx-file {
height: inherit;
}
.huge {
font-size: 25px;
}
@ -302,6 +306,10 @@ label {
max-height: 45px;
}
.timezone-custom-height {
height: calc(2.25rem + 14px);
}
.timezone-picker {
padding: 0;
}

View File

@ -173,7 +173,6 @@ class ProfileEdit extends React.Component {
name="bio"
className="form-control input-lg"
maxLength="200"
type="text"
value={formData.bio}
onChange={e => this.handleFormChange(e)}
/>
@ -183,7 +182,7 @@ class ProfileEdit extends React.Component {
<label>
Timezone:
<TimezonePicker
className="form-control"
className="form-control timezone-custom-height"
onChange={tz => {
const e = { target:
{

View File

@ -2,7 +2,7 @@ import togeojson from '@mapbox/togeojson'
import { addDays, format, parse, startOfWeek, subHours } from 'date-fns'
import { DateTime } from 'luxon'
export const version = '0.1.1' // version stored in 'utils' for now
export const version = '0.1.1-beta' // version stored in 'utils' for now
export const apiUrl = `${process.env.REACT_APP_API_URL}/api/`
export const thunderforestApiKey = `${
process.env.REACT_APP_THUNDERFOREST_API_KEY