Update app.py
Browse files
app.py
CHANGED
|
@@ -87,10 +87,6 @@ st.markdown(
|
|
| 87 |
padding: 10px;
|
| 88 |
}
|
| 89 |
/* Hoverable tooltip styling */
|
| 90 |
-
.tooltip:hover .tooltiptext {
|
| 91 |
-
visibility: visible;
|
| 92 |
-
opacity: 1;
|
| 93 |
-
}
|
| 94 |
.tooltip {
|
| 95 |
position: relative;
|
| 96 |
display: inline-block;
|
|
@@ -111,6 +107,10 @@ st.markdown(
|
|
| 111 |
margin-left: -150px;
|
| 112 |
transition: opacity 0.3s;
|
| 113 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
</style>
|
| 115 |
""",
|
| 116 |
unsafe_allow_html=True,
|
|
@@ -128,7 +128,7 @@ with col1:
|
|
| 128 |
# Tooltip with instructions when hovering over the function input
|
| 129 |
st.markdown(
|
| 130 |
"""
|
| 131 |
-
<div class="tooltip">
|
| 132 |
<input type="text" placeholder="Enter function" readonly style="border: none; color: transparent; background-color: transparent;">
|
| 133 |
<span class="tooltiptext">
|
| 134 |
**How to input your function:**
|
|
|
|
| 87 |
padding: 10px;
|
| 88 |
}
|
| 89 |
/* Hoverable tooltip styling */
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
.tooltip {
|
| 91 |
position: relative;
|
| 92 |
display: inline-block;
|
|
|
|
| 107 |
margin-left: -150px;
|
| 108 |
transition: opacity 0.3s;
|
| 109 |
}
|
| 110 |
+
.tooltip:hover .tooltiptext {
|
| 111 |
+
visibility: visible;
|
| 112 |
+
opacity: 1;
|
| 113 |
+
}
|
| 114 |
</style>
|
| 115 |
""",
|
| 116 |
unsafe_allow_html=True,
|
|
|
|
| 128 |
# Tooltip with instructions when hovering over the function input
|
| 129 |
st.markdown(
|
| 130 |
"""
|
| 131 |
+
<div class="tooltip">
|
| 132 |
<input type="text" placeholder="Enter function" readonly style="border: none; color: transparent; background-color: transparent;">
|
| 133 |
<span class="tooltiptext">
|
| 134 |
**How to input your function:**
|