@eeacms/volto-block-style
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -7,4 +7,12 @@ ### Changelog | ||
#### [3.3.1](https://github.com/eea/volto-block-style/compare/3.3.0...3.3.1) | ||
- Update package.json [`790d878`](https://github.com/eea/volto-block-style/commit/790d8786a15f0fea3dabaa4ac347b97c92a4f369) | ||
- Better way to add screen height to blocks [`2901621`](https://github.com/eea/volto-block-style/commit/2901621636b0d80de40e029d6cf90410d8bfef6f) | ||
#### [3.3.0](https://github.com/eea/volto-block-style/compare/3.2.5...3.3.0) | ||
> 4 June 2021 | ||
- Develop [`#16`](https://github.com/eea/volto-block-style/pull/16) | ||
- Cleanup Jenkinsfile [`dfa2790`](https://github.com/eea/volto-block-style/commit/dfa2790afb144f8a38fc0f3459ff37bb9bc4352c) | ||
@@ -11,0 +19,0 @@ - Bump minor release [`a571d9e`](https://github.com/eea/volto-block-style/commit/a571d9ea1c4ac026af6eb973fe0b3386e4941466) |
{ | ||
"name": "@eeacms/volto-block-style", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "volto-block-style: Volto add-on", | ||
@@ -27,3 +27,3 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@eeacms/volto-resize-helper": "^0.1.1", | ||
"@eeacms/volto-resize-helper": "^0.2.0", | ||
"@cypress/code-coverage": "^3.9.5", | ||
@@ -30,0 +30,0 @@ "babel-plugin-transform-class-properties": "^6.24.1" |
@@ -13,6 +13,8 @@ import React from 'react'; | ||
...(data.fontSize ? { fontSize: data.fontSize } : {}), | ||
...(data.isScreenHeight && props.screen.screenHeight | ||
...(data.isScreenHeight && props.screen.height | ||
? { | ||
minHeight: ( | ||
props.screen.screenHeight - props.screen.offsetHeight | ||
props.screen.height - | ||
props.screen.browserToolbarHeight - | ||
props.screen.content.offsetTop | ||
).toPixel(), | ||
@@ -19,0 +21,0 @@ } |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
79748
1255
1153
0