Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,6 +318,12 @@ def customize_navigation_menu_dark_green():
|
|
| 318 |
)
|
| 319 |
|
| 320 |
def customize_login_page_with_image(image_path):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
st.markdown(
|
| 322 |
"""
|
| 323 |
<style>
|
|
@@ -329,8 +335,6 @@ def customize_login_page_with_image(image_path):
|
|
| 329 |
""",
|
| 330 |
unsafe_allow_html=True
|
| 331 |
)
|
| 332 |
-
# Add the image at the top of the page
|
| 333 |
-
st.image(image_path, width=200, use_container_width=False)
|
| 334 |
|
| 335 |
def customize_submit_button():
|
| 336 |
st.markdown(
|
|
|
|
| 318 |
)
|
| 319 |
|
| 320 |
def customize_login_page_with_image(image_path):
|
| 321 |
+
# Use columns to center the logo
|
| 322 |
+
col1, col2, col3 = st.columns([1, 2, 1]) # Adjust the ratios to center the logo
|
| 323 |
+
with col2: # Place the logo in the middle column
|
| 324 |
+
st.image(image_path, width=200, use_container_width=False) # Adjust width as needed
|
| 325 |
+
|
| 326 |
+
# Add custom styling for the Login Page title
|
| 327 |
st.markdown(
|
| 328 |
"""
|
| 329 |
<style>
|
|
|
|
| 335 |
""",
|
| 336 |
unsafe_allow_html=True
|
| 337 |
)
|
|
|
|
|
|
|
| 338 |
|
| 339 |
def customize_submit_button():
|
| 340 |
st.markdown(
|