Repository navigation
[Docs] Fix environment preview sizing and details wrapping - #8413
Conversation
|
run-ci |
|
should be backported? |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Scope and over-engineering (1). Other reviewed categories look good.
- PR description: The title and body accurately describe the CSS changes and relevant build and browser validation; no performance evidence is needed for this presentation-only path.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: Minimal implementation: extend the existing preview stylesheet owner; delete the redundant explicit row template; retain height removal, start alignment, themed background, and detail spacing; no source modules were added or need keep/merge/delete; Scope is cohesive; no split recommended.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 1 inline finding.
Automated review; human maintainers own approval decisions.
| .environment-preview-stage { | ||
| display: grid; | ||
| grid-template-rows: minmax(0, 1fr) auto; | ||
| grid-template-rows: auto auto; |
There was a problem hiding this comment.
🟡 Warning · Scope Complexity — Redundant grid-template-rows declaration
auto auto restates the default implicit row sizing, so it changes nothing once align-content: start stops rows from stretching. It also hardcodes two rows for a stage holding img, video, caption, and toolbar. Drop the…
|
|
run-ci |
|
run-ci |
|
run-ci |
|
run-ci |
|
Backported to |
## Description The environment preview's media row stretched to match the details panel while the image or video kept its own height, leaving a black bar beneath it. Keep media at a consistent 16:9 ratio and place the caption directly below it, with a theme-matched stage background. Slightly reduce the details font, padding, and row spacing to reduce wrapping of physics backend names. ## Type of change - Bug fix - Documentation update ## Validation - Clean, warning-free HTML build: `uv run --extra dev isaaclab --docs`. - Full formatting and lint checks passed. - Browser checks across six desktop/mobile widths and three environments: no gap between media and caption, consistent 16:9 geometry, no details overflow, and physics on one line. - Additional image/video geometry checks in light and dark themes, including long wrapped details. ## Checklist - [x] Read the contribution guidelines. - [x] Ran the repository's full formatting and lint checks. - [x] Updated the documentation layout. - [x] Changes generate no new documentation warnings. - [x] Validated the changed behavior with focused browser checks. - [x] Changelog fragments are not applicable: no source packages changed. - [x] My name already exists in `CONTRIBUTORS.md`. ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` (cherry picked from commit 402c0f2)
## Description Sphinx copies images referenced by image directives into `_images`, while `html_static_path` also copies those same files into `_static`. Reuse the static files for HTML image directives and scaled-image links instead of shipping a second copy. Images outside the static directory retain Sphinx's normal handling. This removes 131 duplicate files from the full local documentation output: 20.2 MB uncompressed, approximately 17 MB compressed. Every previously built unique image and video remains present byte-for-byte. Remove the Windows documentation CI workflow, including its output-verification check. This workflow did not publish artifacts, and no separate Windows-doc-specific tests or artifact definitions remain. ## Type of change - Documentation update ## Validation - Full formatting and lint checks passed, including the workflow removal: `ISAACLAB_CHANGELOG_BASE_REF=ccd96dc6f uv run isaaclab --format`. - Clean, warning-free build of this isolated branch: `uv run --extra dev isaaclab --docs`. This same Sphinx change also passed Linux docs CI before being split from #8413. - Full output audit: zero duplicate image files; 781 local static/image references verified with no newly broken links. Two existing raw marker image links remain unchanged. ## Checklist - [x] Read the contribution guidelines. - [x] Ran the repository's full formatting and lint checks. - [x] Updated documentation build behavior. - [x] Validated the output and preservation of images. - [x] Changelog fragments are not applicable: no source packages changed. - [x] My name already exists in `CONTRIBUTORS.md`.
Description
The environment preview's media row stretched to match the details panel while the image or video kept its own height, leaving a black bar beneath it. Keep media at a consistent 16:9 ratio and place the caption directly below it, with a theme-matched stage background. Slightly reduce the details font, padding, and row spacing to reduce wrapping of physics backend names.
Type of change
Validation
uv run --extra dev isaaclab --docs.Checklist
CONTRIBUTORS.md.Release backport
develop