diff --git a/css/components/page/_static-section.scss b/css/components/page/_static-section.scss
index 0ca511db..bfb8c2a4 100644
--- a/css/components/page/_static-section.scss
+++ b/css/components/page/_static-section.scss
@@ -10,37 +10,38 @@
height: 80vh;
max-height: 720px;
}
-}
-
-.c-static-background {
- display: block;
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- box-sizing: border-box;
- margin: 0;
- img {
+ .c-static-background {
+ display: block;
+ overflow: hidden;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
box-sizing: border-box;
- padding: 0;
- border: none;
- margin: auto;
- display: block;
- width: 0;
- height: 0;
- min-width: 100%;
- max-width: 100%;
- min-height: 100%;
- max-height: 100%;
- object-fit: cover;
- object-position: center;
+ margin: 0;
+
+ img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ box-sizing: border-box;
+ padding: 0;
+ border: none;
+ margin: auto;
+ display: block;
+ width: 0;
+ height: 0;
+ min-width: 100%;
+ max-width: 100%;
+ min-height: 100%;
+ max-height: 100%;
+ object-fit: cover;
+ object-position: center;
+ }
}
}
+