-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpbgui.py
More file actions
25 lines (22 loc) · 741 Bytes
/
pbgui.py
File metadata and controls
25 lines (22 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import streamlit as st
from pbgui_func import build_navigation
st.logo("images/logo.png", size="large")
# Custom CSS to make help tooltips wider and taller
st.markdown("""
<style>
/* Wider and taller help tooltips - only for actual tooltips, not selectbox popovers */
[data-testid="stTooltipContent"] {
max-width: 800px !important;
min-width: 400px !important;
max-height: 600px !important;
overflow-y: auto !important;
}
[data-testid="stTooltipContent"] pre,
[data-testid="stTooltipContent"] code {
white-space: pre-wrap !important;
word-wrap: break-word !important;
font-size: 13px !important;
}
</style>
""", unsafe_allow_html=True)
build_navigation()