Paras Shah commited on
Commit
515b68a
·
1 Parent(s): 35b6890

Use proper padding for webapp

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,7 +30,7 @@ st.markdown(
30
  background: url(data:image/{side_bg_ext};base64,{base64.b64encode(open(side_bg, "rb").read()).decode()});
31
  color: #ffff00;
32
  }}
33
- [data-testid="stSidebar"] > div > div {{
34
  padding-top: 3rem;
35
  padding-bottom: 3rem;
36
  }}
@@ -44,7 +44,8 @@ st.markdown(
44
 
45
  st.sidebar.markdown(
46
  body=
47
- "<div style='text-align: justify; color: #ffff00'>The species <strong>Pinus sylvestris "
 
48
  "(Scots Pine), Fagus sylvatica (European Beech), Picea abies (Norway Spruce), "
49
  "and Betula pendula (Silver Birch)</strong> are native to Europe and parts "
50
  "of Asia but are also found in India (Parts of Himachal Pradesh, "
 
30
  background: url(data:image/{side_bg_ext};base64,{base64.b64encode(open(side_bg, "rb").read()).decode()});
31
  color: #ffff00;
32
  }}
33
+ [data-testid="stSidebarUserContent"] {{
34
  padding-top: 3rem;
35
  padding-bottom: 3rem;
36
  }}
 
44
 
45
  st.sidebar.markdown(
46
  body=
47
+ "<div style='text-align: justify; color: #ffff00'>"
48
+ "<h1 style='color: #ffff00;'>About</h1>The species <strong>Pinus sylvestris "
49
  "(Scots Pine), Fagus sylvatica (European Beech), Picea abies (Norway Spruce), "
50
  "and Betula pendula (Silver Birch)</strong> are native to Europe and parts "
51
  "of Asia but are also found in India (Parts of Himachal Pradesh, "