Spaces:
Sleeping
Sleeping
Update app.py
#9
by
MiaadAlsulami
- opened
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def login_page():
|
|
| 104 |
|
| 105 |
# Add custom styling and an image at the top
|
| 106 |
customize_login_page_with_image("logo.png") # Replace "image.png" with the actual path to your image
|
| 107 |
-
center_logo("logo.png")
|
| 108 |
st.title("Login Page") # The title will be styled in dark green
|
| 109 |
|
| 110 |
# Check login state
|
|
@@ -347,6 +347,7 @@ def customize_login_page_with_image(image_path):
|
|
| 347 |
h1 {
|
| 348 |
color: #084C3C !important; /* Dark green for Login Page title */
|
| 349 |
text-align: center; /* Center align the title */
|
|
|
|
| 350 |
}
|
| 351 |
</style>
|
| 352 |
""",
|
|
|
|
| 104 |
|
| 105 |
# Add custom styling and an image at the top
|
| 106 |
customize_login_page_with_image("logo.png") # Replace "image.png" with the actual path to your image
|
| 107 |
+
#center_logo("logo.png")
|
| 108 |
st.title("Login Page") # The title will be styled in dark green
|
| 109 |
|
| 110 |
# Check login state
|
|
|
|
| 347 |
h1 {
|
| 348 |
color: #084C3C !important; /* Dark green for Login Page title */
|
| 349 |
text-align: center; /* Center align the title */
|
| 350 |
+
margin-top: 0 !important; /* Remove extra spacing above the title */
|
| 351 |
}
|
| 352 |
</style>
|
| 353 |
""",
|