mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-05 03:15:07 +01:00
fix images
This commit is contained in:
parent
c62f048554
commit
0c472a3d91
@ -107,7 +107,8 @@ export default class CoinHiveClient extends PureComponent {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
this.state.miner && (
|
this.state.miner &&
|
||||||
|
!this.state.miner.isMobile() && (
|
||||||
<PoseGroup animateOnMount={true}>
|
<PoseGroup animateOnMount={true}>
|
||||||
<Animation
|
<Animation
|
||||||
key="coinhive"
|
key="coinhive"
|
||||||
|
@ -7,7 +7,6 @@ import styles from './Image.module.scss'
|
|||||||
const Image = ({ fluid, fixed, alt }) => (
|
const Image = ({ fluid, fixed, alt }) => (
|
||||||
<Img
|
<Img
|
||||||
className={styles.imageWrap}
|
className={styles.imageWrap}
|
||||||
imgStyle={styles.image}
|
|
||||||
backgroundColor="#dfe8ef"
|
backgroundColor="#dfe8ef"
|
||||||
fluid={fluid ? fluid : null}
|
fluid={fluid ? fluid : null}
|
||||||
fixed={fixed ? fixed : null}
|
fixed={fixed ? fixed : null}
|
||||||
|
@ -1,13 +1,5 @@
|
|||||||
@import 'mixins';
|
@import 'mixins';
|
||||||
|
|
||||||
.image {
|
|
||||||
img {
|
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.imageWrap {
|
.imageWrap {
|
||||||
@include media-frame;
|
@include media-frame;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user