Skip to content

Commit 22e6742

Browse files
Adjust style nesting
1 parent ec92ff9 commit 22e6742

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

styles/Hero.module.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
color: $primary-accent-color;
1515
}
1616

17+
.imageBg {
18+
object-fit: cover;
19+
object-position: center;
20+
}
21+
1722
&__content {
1823
z-index: 10;
1924
color: $white;
@@ -43,8 +48,3 @@
4348
}
4449
}
4550
}
46-
47-
.imageBg {
48-
object-fit: cover;
49-
object-position: center;
50-
}

0 commit comments

Comments
 (0)