minor style fix
This commit is contained in:
parent
066a0d79c7
commit
ea4d15acc0
@ -12,5 +12,5 @@
|
|||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"theme_color": "#000000",
|
"theme_color": "#000000",
|
||||||
"background_color": "#ffffff",
|
"background_color": "#ffffff",
|
||||||
"version": "0.1.1"
|
"version": "0.1.1-beta"
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ function FormWithGpx (props) {
|
|||||||
gpxLimit} files max):
|
gpxLimit} files max):
|
||||||
<input
|
<input
|
||||||
accept=".gpx, .zip"
|
accept=".gpx, .zip"
|
||||||
className="form-control input-lg"
|
className="form-control form-control-file gpx-file"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
name="gpxFile"
|
name="gpxFile"
|
||||||
required
|
required
|
||||||
@ -95,7 +95,7 @@ function FormWithGpx (props) {
|
|||||||
<input
|
<input
|
||||||
type="submit"
|
type="submit"
|
||||||
className="btn btn-secondary btn-lg btn-block"
|
className="btn btn-secondary btn-lg btn-block"
|
||||||
onClick={() => history.go(-1)}
|
onClick={() => history.push('/')}
|
||||||
value="Cancel"
|
value="Cancel"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -123,7 +123,7 @@ function FormWithoutGpx (props) {
|
|||||||
<input
|
<input
|
||||||
type="submit"
|
type="submit"
|
||||||
className="btn btn-secondary btn-lg btn-block"
|
className="btn btn-secondary btn-lg btn-block"
|
||||||
onClick={() => history.go(-1)}
|
onClick={() => history.push('/')}
|
||||||
value="Cancel"
|
value="Cancel"
|
||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
@ -228,6 +228,10 @@ label {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gpx-file {
|
||||||
|
height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.huge {
|
.huge {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
}
|
}
|
||||||
@ -302,6 +306,10 @@ label {
|
|||||||
max-height: 45px;
|
max-height: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.timezone-custom-height {
|
||||||
|
height: calc(2.25rem + 14px);
|
||||||
|
}
|
||||||
|
|
||||||
.timezone-picker {
|
.timezone-picker {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -173,7 +173,6 @@ class ProfileEdit extends React.Component {
|
|||||||
name="bio"
|
name="bio"
|
||||||
className="form-control input-lg"
|
className="form-control input-lg"
|
||||||
maxLength="200"
|
maxLength="200"
|
||||||
type="text"
|
|
||||||
value={formData.bio}
|
value={formData.bio}
|
||||||
onChange={e => this.handleFormChange(e)}
|
onChange={e => this.handleFormChange(e)}
|
||||||
/>
|
/>
|
||||||
@ -183,7 +182,7 @@ class ProfileEdit extends React.Component {
|
|||||||
<label>
|
<label>
|
||||||
Timezone:
|
Timezone:
|
||||||
<TimezonePicker
|
<TimezonePicker
|
||||||
className="form-control"
|
className="form-control timezone-custom-height"
|
||||||
onChange={tz => {
|
onChange={tz => {
|
||||||
const e = { target:
|
const e = { target:
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@ import togeojson from '@mapbox/togeojson'
|
|||||||
import { addDays, format, parse, startOfWeek, subHours } from 'date-fns'
|
import { addDays, format, parse, startOfWeek, subHours } from 'date-fns'
|
||||||
import { DateTime } from 'luxon'
|
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 apiUrl = `${process.env.REACT_APP_API_URL}/api/`
|
||||||
export const thunderforestApiKey = `${
|
export const thunderforestApiKey = `${
|
||||||
process.env.REACT_APP_THUNDERFOREST_API_KEY
|
process.env.REACT_APP_THUNDERFOREST_API_KEY
|
||||||
|
Loading…
Reference in New Issue
Block a user