Skip to content

fix(gallery): hide resource previews in 3D-only view - #277

Open
alramalho wants to merge 1 commit into
ByteDance-Seed:mainfrom
alramalho:fix/gallery-resource-visibility
Open

fix(gallery): hide resource previews in 3D-only view#277
alramalho wants to merge 1 commit into
ByteDance-Seed:mainfrom
alramalho:fix/gallery-resource-visibility

Conversation

@alramalho

@alramalho alramalho commented Sep 2, 2026

Copy link
Copy Markdown

Honor the resource grid's hidden attribute so depth previews stay out of the initial 3D-only view and the full viewer remains available to the model until Resource View is selected.

Before

The grid's author-level display: grid rule overrides the browser's default [hidden] styling, so resource images remain visible while the toolbar says Resource View.

Before: resource images remain visible in 3D-only mode

After

The explicit [hidden] rule suppresses the grid and leaves the 3D model as the only visible resource.

After: 3D-only mode shows only the model

@alramalho
alramalho marked this pull request as ready for review September 2, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant