Commit 297a6fd3 authored by Mattias J Duffy's avatar Mattias J Duffy

changed cardMedia to img in hopes that it caches images better on firefox

parent 8c8f4370
......@@ -68,16 +68,15 @@ class FacilityCard extends React.Component {
const buildingName = facility.facility_location.friendly_building ?
facility.facility_location.friendly_building :
return (
<Card onClick={this.handleCardClick} className={classNames('fc-root', isSelected && 'fc-selected')}
onMouseEnter={this.handleMouseEnter} onMouseLeave={this.handleMouseLeave} raised>
<CardMedia className={'fc-media'}
image={''} />
image={''} />
<div className={'fc-logo-container'}>
<CardMedia className={'fc-logo'}
image={facility.logo} />
<img className={'fc-logo'}
src={facility.logo} />
......@@ -42,7 +42,7 @@
width: 90px;
height: 90px;
margin: auto;
background-size: contain !important;
object-fit: contain !important;
.fc-title {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment