small fixes and icons

This commit is contained in:
Al Duncanson 2018-12-10 21:50:46 -05:00
parent b3a819800c
commit ce2a1e8727
9 changed files with 28 additions and 18 deletions

View File

@ -40,7 +40,6 @@
You need to enable JavaScript to run this app. You need to enable JavaScript to run this app.
</noscript> </noscript>
<div id="root"></div> <div id="root"></div>
<!-- Hotjar Tracking Code for https://marten-application.netlify.com/ -->
<!-- Hotjar Tracking Code for https://marten-tracker.netlify.com/ --> <!-- Hotjar Tracking Code for https://marten-tracker.netlify.com/ -->
<script> <script>
(function(h,o,t,j,a,r){ (function(h,o,t,j,a,r){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 426 KiB

View File

@ -297,8 +297,8 @@ export class MapContainer extends Component {
description={<Fragment><b>Description:</b> {sighting.desc}</Fragment>} description={<Fragment><b>Description:</b> {sighting.desc}</Fragment>}
icon={{ icon={{
url: pinIcon, url: pinIcon,
anchor: new google.maps.Point(32,32), anchor: new google.maps.Point(48,48),
scaledSize: new google.maps.Size(32,32) scaledSize: new google.maps.Size(48,48)
}} }}
/> />
) )

View File

@ -85,7 +85,7 @@ class ViewSightings extends Component {
render() { render() {
return ( return (
<Fragment> <Fragment>
<Grid container> <Grid container className='sighting-container'>
<Grid item xs={12} md={6} className='sighting-list'> <Grid item xs={12} md={6} className='sighting-list'>
<Fragment> <Fragment>
<List> <List>

View File

@ -2,6 +2,10 @@ body {
margin: 0; margin: 0;
} }
.sighting-google-map-container > div {
height: calc(100% - 64px) !important;
}
@media (min-width: 600px) { @media (min-width: 600px) {
.sighting-google-map-container > div { .sighting-google-map-container > div {
width: calc(100% - 240px) !important; width: calc(100% - 240px) !important;
@ -9,12 +13,6 @@ body {
} }
} }
@media (min-width: 960px) {
.report-google-map-container > div {
width: calc(100% - 50% - 120px) !important;
}
}
#disqus_thread { #disqus_thread {
width: 89% !important; width: 89% !important;
margin: 0 auto; margin: 0 auto;
@ -30,18 +28,38 @@ body {
.sighting-list { .sighting-list {
height: calc(50vh - 64px); height: calc(50vh - 64px);
overflow-y: scroll; overflow-y: scroll;
} }
@media (min-width: 960px) { @media (min-width: 960px) {
.sighting-container {
height: calc(100vh - 64px);
}
.sighting-list { .sighting-list {
height: calc(100vh - 64px); height: calc(100vh - 64px);
overflow-y: scroll; overflow-y: scroll;
} }
.sighting-details {
height: calc(100vh - 64px);
overflow-y: scroll;
}
.report-google-map-container > div {
height: calc(100% - 64px) !important;
width: calc(100% - 50% - 120px) !important;
}
.sighting-detail-google-map-container > div {
height: 300px !important;
}
} }
.sighting-details-content { .sighting-details-content {
width: 89%; width: 89%;
margin: 330px auto 0 auto; margin: 0 auto 0 auto;
} }
.sighting-detail-google-map-container > div { .sighting-detail-google-map-container > div {
@ -52,11 +70,4 @@ body {
.contact-form { .contact-form {
max-width: 100%; max-width: 100%;
overflow: hidden; overflow: hidden;
}
@media (min-width: 960px) {
.sighting-detail-google-map-container > div {
width: calc(100% - 50% - 120px) !important;
height: 300px !important;
}
} }