Spaces:
Sleeping
Sleeping
sedrick-keh-tri
commited on
Commit
·
3fc1e3d
1
Parent(s):
5223b7f
fix
Browse files
app.py
CHANGED
|
@@ -101,6 +101,10 @@ css = """
|
|
| 101 |
overflow: auto !important;
|
| 102 |
white-space: nowrap !important;
|
| 103 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
"""
|
| 105 |
|
| 106 |
with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
|
|
@@ -152,8 +156,7 @@ with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
|
|
| 152 |
value=table_data[table_names[0]] if table_names else pd.DataFrame(),
|
| 153 |
label="Table Data",
|
| 154 |
interactive=False,
|
| 155 |
-
wrap=False
|
| 156 |
-
height=600
|
| 157 |
)
|
| 158 |
|
| 159 |
# Event handlers
|
|
|
|
| 101 |
overflow: auto !important;
|
| 102 |
white-space: nowrap !important;
|
| 103 |
}
|
| 104 |
+
.dataframe-container {
|
| 105 |
+
max-height: 600px !important;
|
| 106 |
+
overflow-y: auto !important;
|
| 107 |
+
}
|
| 108 |
"""
|
| 109 |
|
| 110 |
with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
|
|
|
|
| 156 |
value=table_data[table_names[0]] if table_names else pd.DataFrame(),
|
| 157 |
label="Table Data",
|
| 158 |
interactive=False,
|
| 159 |
+
wrap=False
|
|
|
|
| 160 |
)
|
| 161 |
|
| 162 |
# Event handlers
|