Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify image sizes in img tag #976

Open
wants to merge 1 commit into
base: testing
Choose a base branch
from

Conversation

argilo
Copy link
Contributor

@argilo argilo commented Jan 12, 2025

The telemetry table often displays with a scrollbar when initially loaded, partially obscuring the final row:

Screenshot from 2025-01-11 21-05-23

Resizing the browser window causes the table to snap back to the correct height.

The problem occurs because the SondeHub and Radiosondy icons are not loaded until after the table is rendered. They are large enough to cause the table rows to expand. Adding explicit height and width attributes allows the browser to determine the final cell size before the images are loaded. The telemetry table then renders correctly on the initial page load:

Screenshot from 2025-01-11 21-09-18

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