Skip to content

Comments

Description scrollable if taller than 350px#658

Merged
knabar merged 2 commits intoome:masterfrom
will-moore:long_descriptions_scrollable
Feb 6, 2026
Merged

Description scrollable if taller than 350px#658
knabar merged 2 commits intoome:masterfrom
will-moore:long_descriptions_scrollable

Conversation

@will-moore
Copy link
Member

Fixes #654

cc @JensWendt

This allows users to see a reasonable amount of the description text, while also showing the following content (Attributes etc) to be visible, instead of being pushed off the screen by a long description.

See issue above for how to apply these changes to IDR webclient for testing with various descriptions. NB: the height in this PR is 350px

@will-moore will-moore requested a review from knabar January 27, 2026 14:36
@knabar
Copy link
Member

knabar commented Jan 28, 2026

@will-moore This works nicely with the styles already on the child elements to avoid horizontal scrolling.

The only suggestion I have is to switch from a hard-coded 350px to a screen-height relative measurement, e.g. 40vh, so that it's not limited to an artificially small space on large screens or large portion of small screens.

@will-moore
Copy link
Member Author

Agreed. Looks good. Updated.

@knabar knabar added this to the 5.31.0 milestone Feb 2, 2026
@knabar knabar merged commit 2fc5f0e into ome:master Feb 6, 2026
8 checks passed
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.

Display of large descriptions, including whitespace

2 participants