trohith89 commited on
Commit
1ce6e15
·
verified ·
1 Parent(s): 6cfd7b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -90,6 +90,7 @@ st.markdown(
90
  .tooltip {
91
  position: relative;
92
  display: inline-block;
 
93
  }
94
  .tooltip .tooltiptext {
95
  visibility: hidden;
@@ -125,11 +126,11 @@ col1, col2 = st.columns([1, 2])
125
  with col1:
126
  st.subheader("🔧 Define Your Function")
127
 
128
- # Tooltip with instructions when hovering over the function input
129
  st.markdown(
130
  """
131
  <div class="tooltip">
132
- <input type="text" readonly style="border: none; color: transparent; background-color: transparent;">
133
  <span class="tooltiptext">
134
  **How to input your function:**
135
  - Use `x` for the variable.
 
90
  .tooltip {
91
  position: relative;
92
  display: inline-block;
93
+ cursor: pointer;
94
  }
95
  .tooltip .tooltiptext {
96
  visibility: hidden;
 
126
  with col1:
127
  st.subheader("🔧 Define Your Function")
128
 
129
+ # Tooltip with instructions when hovering over the function input label
130
  st.markdown(
131
  """
132
  <div class="tooltip">
133
+ <label for="func_input">Enter a function of 'x':</label>
134
  <span class="tooltiptext">
135
  **How to input your function:**
136
  - Use `x` for the variable.