trohith89 commited on
Commit
46c9577
·
verified ·
1 Parent(s): 5dc262f

Update pages/2_Data_CLeaning_and_Preprocessing.py

Browse files
pages/2_Data_CLeaning_and_Preprocessing.py CHANGED
@@ -110,11 +110,10 @@ st.markdown(
110
  <style>
111
  .stApp {{
112
  background-image: url("{background_image_url}");
113
- background-size: cover; /* Ensures the background image covers the entire screen */
114
- background-position: center; /* Centers the image */
115
- background-repeat: no-repeat; /* Prevents the background from repeating */
116
- background-attachment: fixed; /* Keeps the background fixed while scrolling */
117
- height: 100vh; /* Ensures full viewport height is covered */
118
  }}
119
 
120
  /* Semi-transparent overlay */
 
110
  <style>
111
  .stApp {{
112
  background-image: url("{background_image_url}");
113
+ background-size: auto; /* Ensures the image retains its original size */
114
+ background-repeat: repeat; /* Makes the image repeat to cover the entire background */
115
+ background-position: top left; /* Starts repeating from the top-left corner */
116
+ background-attachment: fixed; /* Keeps the background fixed as you scroll */
 
117
  }}
118
 
119
  /* Semi-transparent overlay */