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
Code block annotations are misaligned on mobile #2475
Comments
Thanks for reporting! There're still some issues to work out in regards to sizing and alignment on mobile, that's correct. This is why the feature is still considered experimental. It already works very well in many circumstances, but as always, there are some edge cases to consider. The currently known bugs are:
I've already implemented an alignment logic, but it seems to still suffer from some issues. Nothing that isn't fixable, but it definitely needs some work on mobile. I'm actually working on a general tooltip alignment solution because I want to expand those annotations/tooltips beyond code blocks, to be peaceable anywhere inside body copy. Screenshots for issue 2 and 3: |
In this file
should be "where a comment":
|
I've finally tackled the reported issues with code annotations – they now work quite well on mobile: Ohne.Titel.mp4The fixes were just released as part of 8.0.0b2. See #3219 for update instructions. |
The fix is now in |
I've found a bug and checked that ...
Description
The examples about code block annotations on the material insider page is misaligned (see image).
Expected behavior
Text should be aligned properly.
Actual behavior
The text shows up on the right cut off
Steps to reproduce the bug
Package versions
Since this happens on the live version of the insiders example can I not provide the info.
python --version
mkdocs --version
pip show mkdocs-material | grep -E ^Version
Project configuration
The contents of your mkdocs.yml
System information
The text was updated successfully, but these errors were encountered: