harishsohani commited on
Commit
7a98d14
·
verified ·
1 Parent(s): 154e960

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,12 +16,12 @@ def formatted_number_input(title, hint, **kwargs):
16
 
17
  def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valformat="%.6f"):
18
 
19
- col1, col2 = st.columns([2, 1])
20
 
21
  with col1:
22
  st.markdown(
23
  f"""
24
- <div style="line-height:1.2">
25
  <strong>{title}</strong><br>
26
  <span style="font-size:0.85em; color:gray;">{hint}</span>
27
  </div>
 
16
 
17
  def formatted_number_input2(title, hint, minval, maxval, defvalue, steps, valformat="%.6f"):
18
 
19
+ col1, col2 = st.columns([2, 1], vertical_alignment="center")
20
 
21
  with col1:
22
  st.markdown(
23
  f"""
24
+ <div style="line-height:1.0">
25
  <strong>{title}</strong><br>
26
  <span style="font-size:0.85em; color:gray;">{hint}</span>
27
  </div>