diff --git a/CHANGELOG.md b/CHANGELOG.md index 955c2c575684ad764d1292c25f4b3ba4b613bc47..30e3b61aa1da32eedfb1b6ec722d27c3aaa2e395 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.7.3] + +- Fix white spaces appearing above Hero Header is some cases + ## [2.7.2]- 18/06/2020 - Fixed Related Card/Preview Card components not receiving correct colors when used in Landing Pages diff --git a/patterns/molecules/header-block/css/header-component.css b/patterns/molecules/header-block/css/header-component.css index 836bf1b32b79f67593b3605f0992ced7619510e9..097f518e122bc0812de3d195ed4873f087491e4a 100644 --- a/patterns/molecules/header-block/css/header-component.css +++ b/patterns/molecules/header-block/css/header-component.css @@ -77,6 +77,7 @@ -o-opacity: 1; opacity: 1; } .cern-component-header-blocks .component-header__carousel .header-block { + position: absolute; min-height: 100%; min-width: 100%; } .cern-component-header-blocks .component-header__carousel .header-block__veil { @@ -385,7 +386,7 @@ body:not(.has-header) .is_half_height .cern-component-header-blocks.component-he .cern-component-header-blocks .component-header__scroll { display: none; } } .header-block { - color: transparent; } + color: transparent;} .header-block .header-block__title { color: white; } diff --git a/patterns/molecules/header-block/sass/header-component.scss b/patterns/molecules/header-block/sass/header-component.scss index 0ff1057709642a209041be7b488e77ca70bc425d..e63dfec6ba973d5ebd60ad0ee0146724e7bf20bb 100644 --- a/patterns/molecules/header-block/sass/header-component.scss +++ b/patterns/molecules/header-block/sass/header-component.scss @@ -103,6 +103,7 @@ } .header-block { + position: absolute; min-height: 100%; min-width: 100%;