vanilla-match-height
Advanced tools
Comparing version 0.0.2 to 0.0.3
<a name="0.0.1"></a> | ||
# 0.0.3 (2023-11-18) | ||
### fix display | ||
<a name="0.0.1"></a> | ||
# 0.0.2 (2023-11-18) | ||
@@ -3,0 +8,0 @@ |
/** | ||
* vanilla-match-height v0.0.2 by @mitera | ||
* vanilla-match-height v0.0.3 by @mitera | ||
* Simone Miterangelis <simone@mite.it> | ||
@@ -241,7 +241,8 @@ * License: MIT | ||
if (display && (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex')) { | ||
display = 'display: block;'; | ||
// ensure we get the correct actual height (and not a previously set height value) | ||
$that.setAttribute('style', display); | ||
display = 'block'; | ||
} | ||
// ensure we get the correct actual height (and not a previously set height value) | ||
$that.setAttribute('style', 'display: ' + display + ';'); | ||
// find the max height (including padding, but not margin) | ||
@@ -248,0 +249,0 @@ var isTarget = true; |
{ | ||
"name": "vanilla-match-height", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Simone Miterangelis <simone@mite.it>", |
/** | ||
* vanilla-match-height v0.0.2 by @mitera | ||
* vanilla-match-height v0.0.3 by @mitera | ||
* Simone Miterangelis <simone@mite.it> | ||
@@ -241,7 +241,8 @@ * License: MIT | ||
if (display && (display !== 'inline-block' && display !== 'flex' && display !== 'inline-flex')) { | ||
display = 'display: block;'; | ||
// ensure we get the correct actual height (and not a previously set height value) | ||
$that.setAttribute('style', display); | ||
display = 'block'; | ||
} | ||
// ensure we get the correct actual height (and not a previously set height value) | ||
$that.setAttribute('style', 'display: ' + display + ';'); | ||
// find the max height (including padding, but not margin) | ||
@@ -248,0 +249,0 @@ var isTarget = true; |
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
159919