smbls 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Dropdown/index.js +0 -1
- package/src/Media.js +1 -1
package/package.json
CHANGED
package/src/Dropdown/index.js
CHANGED
package/src/Media.js
CHANGED
|
@@ -108,7 +108,7 @@ export const initUpdate = element => {
|
|
|
108
108
|
const rootState = element.__root ? element.__root.state : element.state
|
|
109
109
|
|
|
110
110
|
const parentProps = element.parent.props
|
|
111
|
-
if (parentProps
|
|
111
|
+
if (parentProps.spacingRatio && parentProps.inheritSpacingRatio) {
|
|
112
112
|
element.setProps({
|
|
113
113
|
spacingRatio: parentProps.spacingRatio,
|
|
114
114
|
inheritSpacingRatio: true
|