Spaces:
Running
Running
thibaud frere
commited on
Commit
Β·
f29f914
1
Parent(s):
6fc5e50
fix layout
Browse files
app/src/content/chapters/available-blocks.mdx
CHANGED
|
@@ -383,13 +383,13 @@ Here are some real world examples to inspire you.
|
|
| 383 |
---
|
| 384 |
<HtmlEmbed src="d3-bar.html" title="D3 Memory usage with recomputation" desc={`Memory usage with recomputation β <a href="https://huggingface.co/spaces/nanotron/ultrascale-playbook?section=activation_recomputation" target="_blank">from the ultrascale playbook</a>`}/>
|
| 385 |
---
|
| 386 |
-
|
| 387 |
<HtmlEmbed src="d3-neural.html" title="D3 Interactive neural network (MNIST-like)" desc="Draw a digit and visualize activations and class probabilities (0β9)." align="center" />
|
| 388 |
-
</Wide>
|
| 389 |
-
|
| 390 |
<FullWidth>
|
| 391 |
<HtmlEmbed src="d3-pie.html" desc="D3 Pie charts by category" align="center" />
|
| 392 |
-
</FullWidth>
|
| 393 |
---
|
| 394 |
<HtmlEmbed src="d3-comparison.html" title="Image similarity: query vs top-k" desc="Compare a query image to top-k matches. Shows rank and similarity." />
|
| 395 |
|
|
|
|
| 383 |
---
|
| 384 |
<HtmlEmbed src="d3-bar.html" title="D3 Memory usage with recomputation" desc={`Memory usage with recomputation β <a href="https://huggingface.co/spaces/nanotron/ultrascale-playbook?section=activation_recomputation" target="_blank">from the ultrascale playbook</a>`}/>
|
| 385 |
---
|
| 386 |
+
<Wide>
|
| 387 |
<HtmlEmbed src="d3-neural.html" title="D3 Interactive neural network (MNIST-like)" desc="Draw a digit and visualize activations and class probabilities (0β9)." align="center" />
|
| 388 |
+
</Wide>
|
| 389 |
+
---
|
| 390 |
<FullWidth>
|
| 391 |
<HtmlEmbed src="d3-pie.html" desc="D3 Pie charts by category" align="center" />
|
| 392 |
+
</FullWidth>
|
| 393 |
---
|
| 394 |
<HtmlEmbed src="d3-comparison.html" title="Image similarity: query vs top-k" desc="Compare a query image to top-k matches. Shows rank and similarity." />
|
| 395 |
|
app/src/styles/_layout.css
CHANGED
|
@@ -6,7 +6,11 @@
|
|
| 6 |
}
|
| 7 |
|
| 8 |
.content-grid { max-width: 1280px; margin: 0 auto; padding: 0 var(--content-padding-x); margin-top: 40px; display: grid; grid-template-columns: 220px minmax(0, 680px) 260px; gap: 32px; align-items: start; }
|
| 9 |
-
.content-grid > main { max-width: 100%; margin: 0; padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
/* TOC (left column) */
|
| 12 |
.toc { position: sticky; top: 24px; }
|
|
|
|
| 6 |
}
|
| 7 |
|
| 8 |
.content-grid { max-width: 1280px; margin: 0 auto; padding: 0 var(--content-padding-x); margin-top: 40px; display: grid; grid-template-columns: 220px minmax(0, 680px) 260px; gap: 32px; align-items: start; }
|
| 9 |
+
.content-grid > main { max-width: 100%; margin: 0; padding: 0; }
|
| 10 |
+
|
| 11 |
+
@media (max-width: 1100px) {
|
| 12 |
+
.content-grid > main { overflow: hidden; }
|
| 13 |
+
}
|
| 14 |
|
| 15 |
/* TOC (left column) */
|
| 16 |
.toc { position: sticky; top: 24px; }
|