Add background color on photos parent element

So we see a color instead of a transparent block while loading the image
This commit is contained in:
2021-10-16 15:42:08 +02:00
parent 3e358843fd
commit 90a4be5b4d
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@
position: relative;
z-index: 3;
overflow: hidden;
background: $color-primary-tertiary20;
@include bp (sm) {
border-radius: 8px;

View File

@@ -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) {