Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,9 +26,9 @@ def generate_url_list(links):
|
|
| 26 |
link['name'],
|
| 27 |
id={'type': 'url-button', 'index': link['id']},
|
| 28 |
color="link",
|
| 29 |
-
className="text-left"
|
| 30 |
),
|
| 31 |
-
className="
|
| 32 |
)
|
| 33 |
for link in links
|
| 34 |
]
|
|
@@ -40,7 +40,7 @@ app.layout = dbc.Container([
|
|
| 40 |
dbc.Col([
|
| 41 |
html.H2("AI Apps", className="mt-3 mb-4"),
|
| 42 |
html.Div(id='url-list'),
|
| 43 |
-
], width=2, className="bg-light-
|
| 44 |
dbc.Col([
|
| 45 |
html.Iframe(
|
| 46 |
id='content-iframe',
|
|
@@ -49,7 +49,7 @@ app.layout = dbc.Container([
|
|
| 49 |
allow="fullscreen; geolocation; microphone; camera; midi; encrypted-media; autoplay",
|
| 50 |
referrerPolicy="no-referrer"
|
| 51 |
)
|
| 52 |
-
], width=10)
|
| 53 |
])
|
| 54 |
], fluid=True)
|
| 55 |
|
|
|
|
| 26 |
link['name'],
|
| 27 |
id={'type': 'url-button', 'index': link['id']},
|
| 28 |
color="link",
|
| 29 |
+
className="text-left w-100"
|
| 30 |
),
|
| 31 |
+
className="p-0"
|
| 32 |
)
|
| 33 |
for link in links
|
| 34 |
]
|
|
|
|
| 40 |
dbc.Col([
|
| 41 |
html.H2("AI Apps", className="mt-3 mb-4"),
|
| 42 |
html.Div(id='url-list'),
|
| 43 |
+
], width=2, className="bg-light-grey p-3"),
|
| 44 |
dbc.Col([
|
| 45 |
html.Iframe(
|
| 46 |
id='content-iframe',
|
|
|
|
| 49 |
allow="fullscreen; geolocation; microphone; camera; midi; encrypted-media; autoplay",
|
| 50 |
referrerPolicy="no-referrer"
|
| 51 |
)
|
| 52 |
+
], width=10, className="bg-white")
|
| 53 |
])
|
| 54 |
], fluid=True)
|
| 55 |
|