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