Update page_files/Categorized_Search.py

#7
by AbhijitClemson - opened
Files changed (1) hide show
  1. page_files/Categorized_Search.py +12 -12
page_files/Categorized_Search.py CHANGED
@@ -630,18 +630,18 @@ with left_col:
630
  )
631
 
632
  with right_col:
633
- with st.container(border=True):
634
- with st.container(key="top_search_row"):
635
- input_col, btn_col = st.columns([0.82, 0.18], gap="small")
636
- with input_col:
637
- search_query = st.text_input(
638
- label="Search",
639
- placeholder="Search by material name, property, or abbreviation...",
640
- label_visibility="collapsed",
641
- key="top_search_input",
642
- )
643
- with btn_col:
644
- search_clicked = st.button("Search", key="top_search_btn", use_container_width=True)
645
 
646
  if search_clicked:
647
  query = (search_query or "").strip()
 
630
  )
631
 
632
  with right_col:
633
+ #with st.container(border=True):
634
+ # with st.container(key="top_search_row"):
635
+ # input_col, btn_col = st.columns([0.82, 0.18], gap="small")
636
+ # with input_col:
637
+ # search_query = st.text_input(
638
+ # label="Search",
639
+ # placeholder="Search by material name, property, or abbreviation...",
640
+ # label_visibility="collapsed",
641
+ # key="top_search_input",
642
+ # )
643
+ # with btn_col:
644
+ # search_clicked = st.button("Search", key="top_search_btn", use_container_width=True)
645
 
646
  if search_clicked:
647
  query = (search_query or "").strip()