Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -226,7 +226,27 @@ st.set_page_config(
|
|
| 226 |
|
| 227 |
|
| 228 |
# Display the image in the sidebar
|
| 229 |
-
st.sidebar.image('Fynd_logo2.png', width=300)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
|
| 231 |
|
| 232 |
html_content = """
|
|
@@ -1066,12 +1086,14 @@ st.sidebar.markdown("""
|
|
| 1066 |
display: flex;
|
| 1067 |
justify-content: flex-start;
|
| 1068 |
width: 100%;
|
|
|
|
|
|
|
| 1069 |
}
|
| 1070 |
.left-aligned-iframe iframe {
|
| 1071 |
width: 500vw;
|
| 1072 |
height: 800px;
|
| 1073 |
border: none;
|
| 1074 |
-
border-radius: 15px
|
| 1075 |
}
|
| 1076 |
</style>
|
| 1077 |
<div class="left-aligned-iframe">
|
|
|
|
| 226 |
|
| 227 |
|
| 228 |
# Display the image in the sidebar
|
| 229 |
+
# st.sidebar.image('Fynd_logo2.png', width=300)
|
| 230 |
+
|
| 231 |
+
st.sidebar.markdown("""
|
| 232 |
+
<style>
|
| 233 |
+
.left-aligned-image {
|
| 234 |
+
display: flex;
|
| 235 |
+
justify-content: flex-start;
|
| 236 |
+
width: 100%;
|
| 237 |
+
}
|
| 238 |
+
.left-aligned-image img {
|
| 239 |
+
width: 100%;
|
| 240 |
+
margin-bottom: 20px;
|
| 241 |
+
height: auto;
|
| 242 |
+
border-radius: 15px;
|
| 243 |
+
}
|
| 244 |
+
</style>
|
| 245 |
+
<div class="left-aligned-image">
|
| 246 |
+
<img src="https://www.medianews4u.com/wp-content/uploads/2021/02/Fynd-Platform-encourages-SMEs-to-start-an-online-business-with-a-new-campaign.jpg" alt="Fynd Image">
|
| 247 |
+
</div>
|
| 248 |
+
""", unsafe_allow_html=True)
|
| 249 |
+
|
| 250 |
|
| 251 |
|
| 252 |
html_content = """
|
|
|
|
| 1086 |
display: flex;
|
| 1087 |
justify-content: flex-start;
|
| 1088 |
width: 100%;
|
| 1089 |
+
margin-top: 20px; /* Add a margin above the iframe */
|
| 1090 |
+
|
| 1091 |
}
|
| 1092 |
.left-aligned-iframe iframe {
|
| 1093 |
width: 500vw;
|
| 1094 |
height: 800px;
|
| 1095 |
border: none;
|
| 1096 |
+
border-radius: 15px;
|
| 1097 |
}
|
| 1098 |
</style>
|
| 1099 |
<div class="left-aligned-iframe">
|