Markdown details tag with default summary has incorrect cursor #23983
-
This is a (minor) bug report. On github.com, with the default GitHub stylesheet, the This is a test The code for this incorrect version is:
Compare that to explicitly including a DetailsThis is another test The code for the second example is:
This can be fixed by adding the following CSS to the stylesheet:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Thanks for letting us know about this @jstrieb ! Could you supply a link to where you see this happening? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @ernest-phillips, thanks for the response! In my browser (Firefox 85.0.2 (64-bit)), it’s actually happening in the post above – I think the github.community stylesheet has the same issue. I can still provide screenshots of it happening on github.com though, and can also provide a Gist demo if that is preferable. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Thanks for that additional context . The Community site is run on Discourse. I will look into seeing if we can make a change there. The screenshot of this behavior on GitHub.com would be most helpful in relaying the info to our engineers. |
Beta Was this translation helpful? Give feedback.
-
Incorrect behavior screenshot: Comparison to explicit inclusion of Screenshots taken from this demonstrative gist: |
Beta Was this translation helpful? Give feedback.
-
@jstrieb thanks for the thorough breakdown of this issue. I can’t say when this will be fixed, and when it does it will likely not have any mention in a changelog. Please be assured that this information has been delivered to the proper team. |
Beta Was this translation helpful? Give feedback.
@jstrieb thanks for the thorough breakdown of this issue.
I have reported this to our engineering team.
I can’t say when this will be fixed, and when it does it will likely not have any mention in a changelog. Please be assured that this information has been delivered to the proper team.