react-cimpress-fulfiller-logo
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -19,3 +19,2 @@ import React, { Component } from 'react'; | ||
maxHeight: "50px", | ||
display: "inline-block", | ||
objectFit: "contain", | ||
@@ -25,3 +24,4 @@ width: "50px", | ||
marginRight: "10px", | ||
verticalAlign: "middle" | ||
verticalAlign: "middle", | ||
alignContent: "center" | ||
}; | ||
@@ -83,3 +83,3 @@ } | ||
let objectURL = URL.createObjectURL(this.state.imageBlob); | ||
childContent = React.createElement('img', { style: { width: "100%", height: "auto", maxWidth: "100%" }, src: objectURL }); | ||
childContent = React.createElement('img', { style: { maxWidth: "inherit", maxHeight: "inherit" }, src: objectURL }); | ||
} else if (this.state.imageIsLoading && this.props.imageLoading) { | ||
@@ -86,0 +86,0 @@ childContent = this.props.imageLoading; |
{ | ||
"name": "react-cimpress-fulfiller-logo", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Fetches fulfiller logo from Fulfiller Identity Service.", | ||
@@ -18,4 +18,3 @@ "main": "./lib/index.js", | ||
"files": [ | ||
"lib", | ||
"src" | ||
"lib" | ||
], | ||
@@ -22,0 +21,0 @@ "bugs": { |
@@ -25,3 +25,3 @@ # react-cimpress-fulfiller-logo | ||
`<FulfillerLogo className="fulfillerLogos" fulfillerId="fulfillerId" accessToken={localStorage.getItem('accessToken')}/>` | ||
`<FulfillerLogo className="fulfillerLogos" fulfillerId="fulfillerId" accessToken={localStorage.getItem('accessToken')}/>` | ||
@@ -28,0 +28,0 @@ ### To override default loading behaviour |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5642
4
110