mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 19:38:12 +08:00
font awesome instead of emoji
This commit is contained in:
@@ -7,6 +7,7 @@ import SectionHeader from "../framework/sectionHeader"
|
|||||||
import actions from "../../actions";
|
import actions from "../../actions";
|
||||||
import ReactAutocomplete from "react-autocomplete"; /* http://emilebres.github.io/react-virtualized-checkbox/ */
|
import ReactAutocomplete from "react-autocomplete"; /* http://emilebres.github.io/react-virtualized-checkbox/ */
|
||||||
import getContrast from "font-color-contrast"; // https://www.npmjs.com/package/font-color-contrast
|
import getContrast from "font-color-contrast"; // https://www.npmjs.com/package/font-color-contrast
|
||||||
|
import FaPaintBrush from 'react-icons/lib/fa/paint-brush';
|
||||||
|
|
||||||
class HeatmapSquare extends React.Component {
|
class HeatmapSquare extends React.Component {
|
||||||
constructor (props) {
|
constructor (props) {
|
||||||
@@ -127,12 +128,12 @@ class HeatmapRow extends React.Component {
|
|||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
cursor: "pointer",
|
cursor: "pointer",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
top: 2,
|
|
||||||
marginRight: 6,
|
marginRight: 6,
|
||||||
borderRadius: 3,
|
borderRadius: 3,
|
||||||
padding: "2px 3px",
|
padding: "0px 2px 2px 2px",
|
||||||
|
color: this.props.colorAccessor === this.props.gene ? "white" : "inherit",
|
||||||
backgroundColor: this.props.colorAccessor === this.props.gene ? globals.brightBlue : "inherit",
|
backgroundColor: this.props.colorAccessor === this.props.gene ? globals.brightBlue : "inherit",
|
||||||
}}>🖌️</span>
|
}}><FaPaintBrush style={{display: "inline-block"}}/></span>
|
||||||
<span
|
<span
|
||||||
style={{
|
style={{
|
||||||
fontSize: 14
|
fontSize: 14
|
||||||
|
|||||||
Reference in New Issue
Block a user