Spaces:
Running
Running
Updated button placement
Browse files- .gitignore +1 -1
- app/streamlit_app.py +4 -3
.gitignore
CHANGED
@@ -27,7 +27,7 @@ share/python-wheels/
|
|
27 |
MANIFEST
|
28 |
|
29 |
# gcp credentials
|
30 |
-
credentials.json
|
31 |
token.json
|
32 |
|
33 |
# PyInstaller
|
|
|
27 |
MANIFEST
|
28 |
|
29 |
# gcp credentials
|
30 |
+
# credentials.json
|
31 |
token.json
|
32 |
|
33 |
# PyInstaller
|
app/streamlit_app.py
CHANGED
@@ -79,7 +79,7 @@ def main():
|
|
79 |
# Create a container for buttons with custom CSS
|
80 |
button_container = st.container()
|
81 |
with button_container:
|
82 |
-
col1, col2, col3 = st.columns([1,
|
83 |
|
84 |
with col1:
|
85 |
optimize_button = st.button("Optimize Resume")
|
@@ -91,8 +91,9 @@ def main():
|
|
91 |
st.markdown("""
|
92 |
<style>
|
93 |
div.stButton > button {
|
94 |
-
width:
|
95 |
-
margin
|
|
|
96 |
}
|
97 |
</style>
|
98 |
""", unsafe_allow_html=True)
|
|
|
79 |
# Create a container for buttons with custom CSS
|
80 |
button_container = st.container()
|
81 |
with button_container:
|
82 |
+
col1, col2, col3 = st.columns([1, 2, 1])
|
83 |
|
84 |
with col1:
|
85 |
optimize_button = st.button("Optimize Resume")
|
|
|
91 |
st.markdown("""
|
92 |
<style>
|
93 |
div.stButton > button {
|
94 |
+
width: 50%;
|
95 |
+
margin: 0 auto;
|
96 |
+
display: block
|
97 |
}
|
98 |
</style>
|
99 |
""", unsafe_allow_html=True)
|