From 8e8feab374e5a2671f32ece3e452bcd0d7edc83a Mon Sep 17 00:00:00 2001 From: Kamila Katarzyna Lach <kamila.katarzyna.lach@cern.ch> Date: Thu, 18 Jun 2020 14:18:47 +0000 Subject: [PATCH] Fixes background image overflows in centered section --- CHANGELOG.md | 3 ++- patterns/molecules/row/{css => scss}/row.component.css | 3 ++- patterns/molecules/row/scss/row.component.scss | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) rename patterns/molecules/row/{css => scss}/row.component.css (99%) mode change 100755 => 100644 patterns/molecules/row/scss/row.component.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index c989b5d7..955c2c57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,12 @@ 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.2] +## [2.7.2]- 18/06/2020 - Fixed Related Card/Preview Card components not receiving correct colors when used in Landing Pages - Fixed issue of half height images w/o has Header looking squashed - Removed enforcing of width in image field of News pattern (overriding drupal image style) +- Fixes background image in centered section overflows ## [2.7.1] - 25/05/2020 diff --git a/patterns/molecules/row/css/row.component.css b/patterns/molecules/row/scss/row.component.css similarity index 99% rename from patterns/molecules/row/css/row.component.css rename to patterns/molecules/row/scss/row.component.css index e146e5e8..930b19e5 100644 --- a/patterns/molecules/row/css/row.component.css +++ b/patterns/molecules/row/scss/row.component.css @@ -47,7 +47,8 @@ box-sizing: border-box; } .component-row__display__centered { margin: auto; - max-width: 1140px; } + max-width: 1140px; + overflow: hidden; } .component-row__row { position: relative; z-index: 3; } diff --git a/patterns/molecules/row/scss/row.component.scss b/patterns/molecules/row/scss/row.component.scss old mode 100755 new mode 100644 index 34f9843f..5482944b --- a/patterns/molecules/row/scss/row.component.scss +++ b/patterns/molecules/row/scss/row.component.scss @@ -59,6 +59,7 @@ &__centered { margin: auto; max-width: 1140px; + overflow: hidden; } } -- GitLab