Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
·
6cd3563
1
Parent(s):
1289187
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ drivers_2022 = {'Fastest driver': 'Fastest driver', 'VER': 'Max Verstappen',
|
|
39 |
app_ui = ui.page_fluid(
|
40 |
shinyswatch.theme.minty(),
|
41 |
ui.div(
|
42 |
-
{"style": "
|
43 |
ui.panel_title("Gear usage in fastest lap"),
|
44 |
),
|
45 |
ui.layout_sidebar(
|
@@ -126,7 +126,7 @@ def server(input, output, session):
|
|
126 |
def get_data_1():
|
127 |
try:
|
128 |
ui.div(
|
129 |
-
{"
|
130 |
ui.notification_show("Data takes a couple seconds to load.", duration=3, type = 'default'),
|
131 |
)
|
132 |
|
|
|
39 |
app_ui = ui.page_fluid(
|
40 |
shinyswatch.theme.minty(),
|
41 |
ui.div(
|
42 |
+
{"style": "position: fixed; left: calc(50% - 150px); top: 0px;},
|
43 |
ui.panel_title("Gear usage in fastest lap"),
|
44 |
),
|
45 |
ui.layout_sidebar(
|
|
|
126 |
def get_data_1():
|
127 |
try:
|
128 |
ui.div(
|
129 |
+
{"style": "position: fixed; left: calc(50% - 150px); top: 0px;"},
|
130 |
ui.notification_show("Data takes a couple seconds to load.", duration=3, type = 'default'),
|
131 |
)
|
132 |
|