From 90a4be5b4dbb2955f5497a14bc76f210223cae71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sat, 16 Oct 2021 15:42:08 +0200 Subject: [PATCH] Add background color on photos parent element So we see a color instead of a transparent block while loading the image --- src/style/organisms/_house.scss | 1 + src/style/pages/_homepage.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/src/style/organisms/_house.scss b/src/style/organisms/_house.scss index 065f9e8..b38705e 100644 --- a/src/style/organisms/_house.scss +++ b/src/style/organisms/_house.scss @@ -45,6 +45,7 @@ position: relative; z-index: 3; overflow: hidden; + background: $color-primary-tertiary20; @include bp (sm) { border-radius: 8px; diff --git a/src/style/pages/_homepage.scss b/src/style/pages/_homepage.scss index a4b45de..5f334a0 100644 --- a/src/style/pages/_homepage.scss +++ b/src/style/pages/_homepage.scss @@ -71,6 +71,7 @@ margin-left: auto; margin-right: auto; transform: rotate(var(--rotation)) translateZ(0); + background: $color-primary-tertiary20; // First row &:nth-child(1) {