mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-07-16 22:55:41 -05:00
Fix carousel arrows overlapping GIF - move outside carousel-track
Changes to HTML: - Move carousel-nav outside carousel-track container - Navigation now appears as separate element below the carousel Changes to CSS: - Remove absolute positioning (no longer needed) - Use simple flexbox layout with margin-top: 1rem - Remove bottom/left/right positioning properties This fixes the overlap issue where arrows were positioned at the bottom of the carousel-track, overlapping the GIF content. Arrows now appear cleanly below the entire carousel as a separate row.
This commit is contained in:
@@ -57,11 +57,11 @@ Build a complete machine learning (ML) framework from tensors to systems—under
|
||||
<h4>Validate with History</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="carousel-nav">
|
||||
<button class="nav-arrow prev" onclick="moveCarousel(-1)">←</button>
|
||||
<button class="nav-arrow next" onclick="moveCarousel(1)">→</button>
|
||||
</div>
|
||||
<div class="carousel-nav">
|
||||
<button class="nav-arrow prev" onclick="moveCarousel(-1)">←</button>
|
||||
<button class="nav-arrow next" onclick="moveCarousel(1)">→</button>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user