Context
No response
Bug description
Hi team,
When I have the following features enabled...
- "content.code.annotate",
- "content.code.copy",
- "content.code.select"
...the buttons overlap on long snippets of code making the code annotation button unreachable.
The only workaround I can find is to force newlines into the codeblock to force the code annotation to be underneath the copy to clipboard and toggle line selection buttons.
I thought adding the title to the code might place the copy code and enable line selectors inline with the title but this wasn't the case.
Related links
Reproduction
Here is a visual of the issue.
Here is an example of the code block + code annotation in the markdown file:
[codeblock_rpr.zip](https://github.com/user-attachments/files/25446926/codeblock_rpr.zip)
```sh
pip install git+https://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.git@vMaj.Min.Pat # (1)!
```
1. Replace Major, Minor, Patch with the version of aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa that you want
A workaround is to add anything that forces new lines such as \n but obviously doesn't look great.
Steps to reproduce
- Have code annotations enabled, copy code enabled and toggle line selection enabled
- Add fenced codeblock to a markdown file with a rather long piece of code
- Render through
zensical serve and see how the buttons overlap
Browser
Firefox
Before submitting
Context
No response
Bug description
Hi team,
When I have the following features enabled...
...the buttons overlap on long snippets of code making the code annotation button unreachable.
The only workaround I can find is to force newlines into the codeblock to force the code annotation to be underneath the copy to clipboard and toggle line selection buttons.
I thought adding the title to the code might place the copy code and enable line selectors inline with the title but this wasn't the case.
Related links
Reproduction
Here is a visual of the issue.
Here is an example of the code block + code annotation in the markdown file:
A workaround is to add anything that forces new lines such as
\nbut obviously doesn't look great.Steps to reproduce
zensical serveand see how the buttons overlapBrowser
Firefox
Before submitting