Spaces:
Running on Zero
Running on Zero
Centre the full virtual staining map
Browse files
app.py
CHANGED
|
@@ -465,6 +465,8 @@ def build_virtual_opencell_section():
|
|
| 465 |
|
| 466 |
# OpenCell's look for both tabs, each scoped to its own container, plus what only the titration needs
|
| 467 |
CSS = viewer.CSS + viewer.scoped_css(page.SCOPE) + page.CSS
|
|
|
|
|
|
|
| 468 |
|
| 469 |
CITATION = """@article{zheng2026virtual,
|
| 470 |
title = {Virtual experiments bridge sequence and microscopy with generative models},
|
|
|
|
| 465 |
|
| 466 |
# OpenCell's look for both tabs, each scoped to its own container, plus what only the titration needs
|
| 467 |
CSS = viewer.CSS + viewer.scoped_css(page.SCOPE) + page.CSS
|
| 468 |
+
# the full map is laid out while its tab is hidden, so Plotly falls back to a 700 px figure: centre it
|
| 469 |
+
CSS += "#virtual-opencell .vo-umap-full .svg-container { margin: 0 auto; }\n"
|
| 470 |
|
| 471 |
CITATION = """@article{zheng2026virtual,
|
| 472 |
title = {Virtual experiments bridge sequence and microscopy with generative models},
|