alfraser commited on
Commit
2c5b1e7
·
1 Parent(s): 1e508c0

Padded the username field to move it out from under the hugging face chrome

Browse files
Files changed (1) hide show
  1. src/st_helpers.py +1 -1
src/st_helpers.py CHANGED
@@ -31,7 +31,7 @@ def st_setup(page_title: str, layout: str = 'wide'):
31
 
32
  username='username'
33
  if username in st.session_state:
34
- st.markdown(f'<div style="float: right;">Logged in as <b>{st.session_state[username]}</b></span>', unsafe_allow_html=True)
35
 
36
  with st.sidebar:
37
  st.image('img/uob-logo.png', width=200)
 
31
 
32
  username='username'
33
  if username in st.session_state:
34
+ st.markdown(f'<div style="float: right; padding-top: 10px;">Logged in as <b>{st.session_state[username]}</b></span>', unsafe_allow_html=True)
35
 
36
  with st.sidebar:
37
  st.image('img/uob-logo.png', width=200)