faizhalas commited on
Commit
91b7eb3
·
verified ·
1 Parent(s): 9c37c53

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +6 -4
Home.py CHANGED
@@ -67,12 +67,14 @@ if text_search:
67
  st.caption(f"We found **{key_df_j.shape[0]}** article(s) available for you.")
68
 
69
  for _, row in key_df_j.reset_index().iterrows():
70
- with st.container(border=True):
71
- col1, col2 = st.columns(2)
72
- col1.caption(f"**{row['Journal'].strip()}**")
 
73
  col2.caption(f"{row['Year'].strip()} - {row['Volume'].strip()}, {row['Issue'].strip()}")
74
- st.markdown(f"**{row['Title'].strip()}**")
75
  st.markdown(f"**{row['Authors'].strip()}**")
76
 
77
  popover = st.popover("Abstract", icon="🚨", help="Click to Read Abstract")
78
  popover.write(row['Abstract (en)'].strip() if row['Abstract (en)'] else "No abstract available.")
 
 
67
  st.caption(f"We found **{key_df_j.shape[0]}** article(s) available for you.")
68
 
69
  for _, row in key_df_j.reset_index().iterrows():
70
+ with st.container():
71
+ col1, col2 = st.columns([6,4]])
72
+ col1.markdown(f"**{row['Title'].strip()}**")
73
+ col2.caption(f"**{row['Journal'].strip()}**")
74
  col2.caption(f"{row['Year'].strip()} - {row['Volume'].strip()}, {row['Issue'].strip()}")
75
+
76
  st.markdown(f"**{row['Authors'].strip()}**")
77
 
78
  popover = st.popover("Abstract", icon="🚨", help="Click to Read Abstract")
79
  popover.write(row['Abstract (en)'].strip() if row['Abstract (en)'] else "No abstract available.")
80
+ st.divider