Skip to content

Conversation

@MarcelGeo
Copy link
Contributor

Fixes #656

  • here is a issue in chromium browsers where image height is not calculated properly (probably this is related: https://issues.chromium.org/issues/40753240)
  • anchor links were not placed properly on pages with images (fresh open)

Solution

After some discussion with @brc-dd in vitepress issues (see: vuejs/vitepress#5079), following improvements were implemented:

  • added markdown plugin to calculate width and height for each image from content
  • added improvement to lite-youtube component using css to proper scrolling
  • Precalulate images height and width with maxHeight = 500px to every image in markdown

@MarcelGeo MarcelGeo requested a review from varmar05 January 9, 2026 14:06
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.

Links to headers sometimes work correctly only after page refresh

2 participants