ivn888 commited on
Commit
d232a98
1 Parent(s): e98c51a

Small layout fixes

Browse files

Signed-off-by: ivandorte <edgar_allan_poe88@hotmail.it>

Files changed (1) hide show
  1. rome-in-transit.py +4 -3
rome-in-transit.py CHANGED
@@ -129,7 +129,7 @@ status_indicators = pn.Row(IN_TRANSIT_IND, STOPPED_IND, FLEET_IND)
129
  delay_indicators = pn.Row(ON_TIME_IND, LATE_IND)
130
 
131
  # Alert pane
132
- alert_pane = pn.pane.Alert("No data received from Roma mobilità!", alert_type="danger")
133
  alert_pane.visible = False
134
 
135
  # Inizialize the pipe
@@ -159,11 +159,12 @@ layout = pn.Row(
159
  pn.Column(
160
  desc_pane,
161
  status_indicators,
162
- pn.Spacer(height=25),
163
  delay_indicators,
164
- alert_pane,
165
  pn.Spacer(height=5),
166
  latest_update_time,
 
 
167
  width=400,
168
  ),
169
  pn.Tabs(
 
129
  delay_indicators = pn.Row(ON_TIME_IND, LATE_IND)
130
 
131
  # Alert pane
132
+ alert_pane = pn.pane.Alert("😿No data received from Roma mobilità!", alert_type="danger")
133
  alert_pane.visible = False
134
 
135
  # Inizialize the pipe
 
159
  pn.Column(
160
  desc_pane,
161
  status_indicators,
162
+ pn.Spacer(height=5),
163
  delay_indicators,
 
164
  pn.Spacer(height=5),
165
  latest_update_time,
166
+ pn.Spacer(height=20),
167
+ alert_pane,
168
  width=400,
169
  ),
170
  pn.Tabs(