nesticot commited on
Commit
d4b2f47
·
1 Parent(s): 440e5c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -193,10 +193,10 @@ app_ui = ui.page_fluid(
193
  ),
194
 
195
  ui.panel_main(ui.tags.h3(""),
196
- ui.div({"style": "font-size:2em;"},ui.output_text("txt_title")),
197
  #ui.tags.h2("Fantasy Hockey Schedule Summary"),
198
  ui.tags.h5("Created By: @TJStats, Data: Natural Stat Trick, Yahoo Fantasy"),
199
- ui.div({"style": "font-size:1.2em;"},ui.output_text("txt")),
200
  ui.output_table("pp_roundup"),
201
  #ui.tags.h5('Legend'),
202
  #ui.tags.h6('An Off Night is defined as a day in which less than half the teams in the NHL are playing'),
@@ -374,8 +374,8 @@ def server(input, output, session):
374
 
375
  },{'selector' :'th', 'props':[('text-align', 'center'),('Height','px'),('color','black'),(
376
  'border', '1px black solid !important')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '18px'),('color','black')]}],overwrite=False).set_properties(
377
- **{'background-color':'White','index':'White','min-width':'60px'},subset=cols[1:],overwrite=False).set_properties(
378
- **{'background-color':'White','index':'White','min-width':'150px'},subset=cols[0],overwrite=False).set_table_styles(
379
  [{'selector': 'th:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
380
  [{'selector': 'tr:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
381
  [{'selector': 'tr', 'props': [('line-height', '25px')]}],overwrite=False).set_properties(
 
193
  ),
194
 
195
  ui.panel_main(ui.tags.h3(""),
196
+ ui.div({"style": "font-size:2.5em;"},ui.output_text("txt_title")),
197
  #ui.tags.h2("Fantasy Hockey Schedule Summary"),
198
  ui.tags.h5("Created By: @TJStats, Data: Natural Stat Trick, Yahoo Fantasy"),
199
+ ui.div({"style": "font-size:1.6em;"},ui.output_text("txt")),
200
  ui.output_table("pp_roundup"),
201
  #ui.tags.h5('Legend'),
202
  #ui.tags.h6('An Off Night is defined as a day in which less than half the teams in the NHL are playing'),
 
374
 
375
  },{'selector' :'th', 'props':[('text-align', 'center'),('Height','px'),('color','black'),(
376
  'border', '1px black solid !important')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '18px'),('color','black')]}],overwrite=False).set_properties(
377
+ **{'background-color':'White','index':'White','min-width':'80px'},overwrite=False).set_properties(
378
+ **{'background-color':'White','index':'White','min-width':'200px'},overwrite=False,subset=cols[0]).set_table_styles(
379
  [{'selector': 'th:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
380
  [{'selector': 'tr:first-child', 'props': [('background-color', 'white')]}],overwrite=False).set_table_styles(
381
  [{'selector': 'tr', 'props': [('line-height', '25px')]}],overwrite=False).set_properties(