Mpavan45 commited on
Commit
f442fb7
·
verified ·
1 Parent(s): c9dc663

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +3 -2
Home.py CHANGED
@@ -49,10 +49,11 @@ st.markdown(
49
  <style>
50
  .stApp {{
51
  background-image: url("{background_image_url}");
52
- background-size: 60% auto; /* Ensure the image width is 100% of the screen, and the height scales proportionally */
53
- background-repeat: repeat-y; /* 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
  }}
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 */