diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c687b..1802368 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [0.2.2](https://github.com/eea/volto-call-to-action-block/compare/0.2.1...0.2.2) + +- fix(call-to-action): CSS when volto-block-style is enabled [`3912c11`](https://github.com/eea/volto-call-to-action-block/commit/3912c11de4e11f6e671a2ec510122da9e5613d5b) + #### [0.2.1](https://github.com/eea/volto-call-to-action-block/compare/0.2.0...0.2.1) -- fix(call-to-action): Icon right for link theme [`b69ca24`](https://github.com/eea/volto-call-to-action-block/commit/b69ca24ba8b0ce75b8da4df5cc5e2adf5ec7d0f6) +> 2 June 2022 + +- fix(call-to-action): Icon right for link theme [`#2`](https://github.com/eea/volto-call-to-action-block/pull/2) #### [0.2.0](https://github.com/eea/volto-call-to-action-block/compare/0.1.0...0.2.0) diff --git a/package.json b/package.json index 7ed5a15..a87b2fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-call-to-action-block", - "version": "0.2.1", + "version": "0.2.2", "description": "@eeacms/volto-call-to-action-block: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/theme/main.less b/src/theme/main.less index 70d4938..bb4ed47 100644 --- a/src/theme/main.less +++ b/src/theme/main.less @@ -21,3 +21,21 @@ } } } + +/* Fix CSS when volto-block-style is present */ +.styled { + &.styled-callToActionBlock { + &.right, + &.left { + float: none; + } + + &.full-width { + right: 0; + left: 0; + width: 100% !important; + margin-right: 0 !important; + margin-left: 0 !important; + } + } +}