Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -49,10 +49,11 @@ st.markdown(
|
|
| 49 |
<style>
|
| 50 |
.stApp {{
|
| 51 |
background-image: url("{background_image_url}");
|
| 52 |
-
background-size:
|
| 53 |
-
background-repeat: repeat
|
| 54 |
background-position: top center; /* Start repeating from the top center */
|
| 55 |
background-attachment: fixed; /* Keeps the background fixed as you scroll */
|
|
|
|
| 56 |
}}
|
| 57 |
|
| 58 |
/* Semi-transparent overlay */
|
|
|
|
| 49 |
<style>
|
| 50 |
.stApp {{
|
| 51 |
background-image: url("{background_image_url}");
|
| 52 |
+
background-size: auto; /* Ensure the image width is 100% of the screen, and the height scales proportionally */
|
| 53 |
+
background-repeat: repeat; /* Repeat only vertically */
|
| 54 |
background-position: top center; /* Start repeating from the top center */
|
| 55 |
background-attachment: fixed; /* Keeps the background fixed as you scroll */
|
| 56 |
+
height: 100%;
|
| 57 |
}}
|
| 58 |
|
| 59 |
/* Semi-transparent overlay */
|