Update app.py
Browse files
app.py
CHANGED
|
@@ -261,12 +261,12 @@ st.markdown("""
|
|
| 261 |
/* Remove default Streamlit formatting */
|
| 262 |
#MainMenu {visibility: hidden;}
|
| 263 |
footer {visibility: hidden;}
|
| 264 |
-
.block-container {padding-top:
|
| 265 |
|
| 266 |
/* Fix for streamlit container size */
|
| 267 |
.css-18e3th9 {
|
| 268 |
-
padding-top: 0rem;
|
| 269 |
-
padding-bottom: 0rem;
|
| 270 |
padding-left: 1rem;
|
| 271 |
padding-right: 1rem;
|
| 272 |
}
|
|
@@ -281,6 +281,8 @@ st.markdown("""
|
|
| 281 |
[data-testid="stHorizontalBlock"] {
|
| 282 |
width: 100%;
|
| 283 |
gap: 10px;
|
|
|
|
|
|
|
| 284 |
}
|
| 285 |
|
| 286 |
/* Button styling */
|
|
@@ -393,6 +395,55 @@ st.markdown("""
|
|
| 393 |
background-color: #eee;
|
| 394 |
margin: 15px 0;
|
| 395 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
</style>
|
| 397 |
""", unsafe_allow_html=True)
|
| 398 |
|
|
@@ -685,7 +736,11 @@ else:
|
|
| 685 |
assignee_list = load_assignees()
|
| 686 |
|
| 687 |
# Application Header
|
| 688 |
-
st.markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
| 689 |
|
| 690 |
# Sidebar for new tasks
|
| 691 |
with st.sidebar:
|
|
|
|
| 261 |
/* Remove default Streamlit formatting */
|
| 262 |
#MainMenu {visibility: hidden;}
|
| 263 |
footer {visibility: hidden;}
|
| 264 |
+
.block-container {padding-top: 0.5rem !important; padding-bottom: 0rem !important;}
|
| 265 |
|
| 266 |
/* Fix for streamlit container size */
|
| 267 |
.css-18e3th9 {
|
| 268 |
+
padding-top: 0rem !important;
|
| 269 |
+
padding-bottom: 0rem !important;
|
| 270 |
padding-left: 1rem;
|
| 271 |
padding-right: 1rem;
|
| 272 |
}
|
|
|
|
| 281 |
[data-testid="stHorizontalBlock"] {
|
| 282 |
width: 100%;
|
| 283 |
gap: 10px;
|
| 284 |
+
margin-top: 0 !important;
|
| 285 |
+
padding-top: 0 !important;
|
| 286 |
}
|
| 287 |
|
| 288 |
/* Button styling */
|
|
|
|
| 395 |
background-color: #eee;
|
| 396 |
margin: 15px 0;
|
| 397 |
}
|
| 398 |
+
|
| 399 |
+
/* Improved header layout */
|
| 400 |
+
h1 {
|
| 401 |
+
margin-top: 0 !important;
|
| 402 |
+
padding-top: 0 !important;
|
| 403 |
+
margin-bottom: 16px !important;
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
/* Board container for better layout */
|
| 407 |
+
.board-container {
|
| 408 |
+
margin-top: 0 !important;
|
| 409 |
+
padding: 0 !important;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
/* Column headers */
|
| 413 |
+
.column-header {
|
| 414 |
+
font-size: 16px;
|
| 415 |
+
margin: 0 0 10px 0;
|
| 416 |
+
padding: 8px;
|
| 417 |
+
background-color: #f5f5f5;
|
| 418 |
+
border-radius: 4px;
|
| 419 |
+
text-align: center;
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
/* Task board header */
|
| 423 |
+
.task-board-header {
|
| 424 |
+
display: flex;
|
| 425 |
+
align-items: center;
|
| 426 |
+
margin-bottom: 16px;
|
| 427 |
+
padding-bottom: 10px;
|
| 428 |
+
border-bottom: 1px solid var(--border-color);
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
.task-board-title {
|
| 432 |
+
font-size: 24px;
|
| 433 |
+
font-weight: 600;
|
| 434 |
+
color: var(--primary-color);
|
| 435 |
+
margin: 0;
|
| 436 |
+
padding: 0;
|
| 437 |
+
}
|
| 438 |
+
|
| 439 |
+
/* Fix for streamlit elements */
|
| 440 |
+
.stTextInput, .stTextArea, .stSelectbox, .stDateInput {
|
| 441 |
+
padding-bottom: 10px !important;
|
| 442 |
+
}
|
| 443 |
+
|
| 444 |
+
div[data-testid="stVerticalBlock"] {
|
| 445 |
+
gap: 0 !important;
|
| 446 |
+
}
|
| 447 |
</style>
|
| 448 |
""", unsafe_allow_html=True)
|
| 449 |
|
|
|
|
| 736 |
assignee_list = load_assignees()
|
| 737 |
|
| 738 |
# Application Header
|
| 739 |
+
st.markdown("""
|
| 740 |
+
<div class="task-board-header">
|
| 741 |
+
<h1 class="task-board-title">📋 Task Board</h1>
|
| 742 |
+
</div>
|
| 743 |
+
""", unsafe_allow_html=True)
|
| 744 |
|
| 745 |
# Sidebar for new tasks
|
| 746 |
with st.sidebar:
|