Skip to content

[Docs] Fix environment preview sizing and details wrapping - #8413

Merged
StafaH merged 4 commits into
isaac-sim:developfrom
StafaH:fix/environment-preview-layout
Oct 9, 2026
Merged

StafaH merged 4 commits into
isaac-sim:developfrom
StafaH:fix/environment-preview-layout

Conversation

@StafaH

@StafaH StafaH commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Read the contribution guidelines.
  • Ran the repository's full formatting and lint checks.
  • Updated the documentation layout.
  • Changes generate no new documentation warnings.
  • Validated the changed behavior with focused browser checks.
  • Changelog fragments are not applicable: no source packages changed.
  • My name already exists in CONTRIBUTORS.md.

Release backport

  • Backport this pull request to the active release branch after it merges into develop

@StafaH
StafaH requested a review from a team October 9, 2026 04:51
@StafaH

StafaH commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation labels Oct 9, 2026
@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 9, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

should be backported?

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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…

@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Updates the environment preview layout to keep media at 16:9 and place the caption directly below it.

  • Removes minimum heights and the video height cap.
  • Matches the stage background to the current theme.
  • Reduces details font size, padding, and spacing.

No actionable issues were found. Browser rendering was not independently checked; no built documentation page was available.

Reviews (1) · Last reviewed commit: "Fix environment preview sizing and detai..." · Reviewed by Greptile

@StafaH

StafaH commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@StafaH StafaH changed the title [Docs] Fix environment preview sizing and details wrapping [Docs] Fix preview layout and avoid duplicate image artifacts Oct 9, 2026
@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 9, 2026
@StafaH StafaH changed the title [Docs] Fix preview layout and avoid duplicate image artifacts [Docs] Fix environment preview sizing and details wrapping Oct 9, 2026
@StafaH

StafaH commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 9, 2026
@StafaH

StafaH commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 9, 2026
@StafaH

StafaH commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 9, 2026
@StafaH
StafaH merged commit 402c0f2 into isaac-sim:develop Oct 9, 2026
92 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as be95512.

isaaclab-bot Bot pushed a commit that referenced this pull request Oct 9, 2026
## 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)
StafaH added a commit that referenced this pull request Oct 9, 2026
## 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`.
@StafaH
StafaH deleted the fix/environment-preview-layout branch October 10, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants