From 0e0f3999ee9c597625fc0972c57947a392626df5 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Fri, 26 Apr 2024 11:47:25 -0600 Subject: [PATCH 1/2] Add missing .background styles --- less/core/component.less | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/less/core/component.less b/less/core/component.less index d874c14f..e9dfc23c 100644 --- a/less/core/component.less +++ b/less/core/component.less @@ -1,4 +1,17 @@ .component { + position: relative; + + &.has-bg-image > .background { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + background-repeat: no-repeat; + background-size: cover; + background-position: center top; + } + &__container { flex-direction: unset; margin-left: -@component-padding-hoz; From 29bc0f10b758e197cf1b1650d3004155f0615699 Mon Sep 17 00:00:00 2001 From: Brad Simpson Date: Mon, 6 May 2024 14:24:30 -0600 Subject: [PATCH 2/2] Add relative positioning to .component__inner to control stacking order --- less/core/component.less | 1 + 1 file changed, 1 insertion(+) diff --git a/less/core/component.less b/less/core/component.less index e9dfc23c..749b3a11 100644 --- a/less/core/component.less +++ b/less/core/component.less @@ -19,6 +19,7 @@ } &__inner { + position: relative; padding: @component-padding-ver @component-padding-hoz; }