@salesforcedevs/docs-components
Advanced tools
Comparing version 0.4.40 to 0.4.41
{ | ||
"name": "@salesforcedevs/docs-components", | ||
"version": "0.4.40", | ||
"version": "0.4.41", | ||
"description": "Docs Lightning web components for DSC", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "e620ff9d671fa03f32a77a4fe7d35a2284b2c4c1" | ||
"gitHead": "8c67a706cb555f04ad5d1c160ddf95a16de86b44" | ||
} |
@@ -192,2 +192,4 @@ /* eslint-disable @lwc/lwc/no-inner-html */ | ||
const label = mediaEl.getAttribute("label"); | ||
const width = mediaEl.getAttribute("width"); | ||
const height = mediaEl.getAttribute("height"); | ||
@@ -210,2 +212,9 @@ if (isImage) { | ||
} | ||
if (height) { | ||
img.height = parseFloat(height); | ||
} | ||
if (width) { | ||
img.width = parseFloat(width); | ||
} | ||
img.className = "content-image"; | ||
@@ -212,0 +221,0 @@ mediaEl.parentNode!.insertBefore(img, mediaEl); |
Sorry, the diff of this file is not supported yet
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
141925
3612