diff --git a/server/src/pages/shotindex/view.js b/server/src/pages/shotindex/view.js index 49b0bfcffa..ef0ce5e431 100644 --- a/server/src/pages/shotindex/view.js +++ b/server/src/pages/shotindex/view.js @@ -1,6 +1,7 @@ /* globals controller */ const sendEvent = require("../../browser-send-event.js"); const reactruntime = require("../../reactruntime"); +const classnames = require("classnames"); const { MyShotsFooter } = require("./footer"); const React = require("react"); const PropTypes = require("prop-types"); @@ -314,12 +315,14 @@ class Card extends React.Component { } let favoriteIndicator = null; - if (this.props.hasFxa) { - if (!shot.expireTime) { - favoriteIndicator =
; - } else { - favoriteIndicator =
; - } + if (!shot.expireTime) { + favoriteIndicator = +
+
; + } else if (this.props.hasFxa) { + favoriteIndicator = +
+
; } const deleteConfirmationClass = this.state.deletePanelOpen ? "panel-open" : ""; diff --git a/static/css/shot-index.scss b/static/css/shot-index.scss index b8523bc0cc..2f13403e8a 100644 --- a/static/css/shot-index.scss +++ b/static/css/shot-index.scss @@ -206,6 +206,9 @@ .fav-shot { background-image: url("../img/icon-heart.svg"); + &.inactive { + opacity: 0.4; + } } .non-fav-shot {