sphinx-design icon indicating copy to clipboard operation
sphinx-design copied to clipboard

Multi-line content in dropdown has extra spacing on first line

Open rmorshea opened this issue 4 years ago • 2 comments

Describe the problem

Normal content:

image

Content in dropdown:

image

This is because the first line of text in the dropdown content gets an extra sd-card-text

image

What should actually happen is that the content should be wrapped in a div which has that class.

Link to your repository or website

No response

Steps to reproduce

Put more than one line of content into a dopdown directive:

.. dropdown:: Leave debug mode off in production!

    Turning on ``IDOM_DEBUG_MODE`` will:

    - leak secrets
    - display error messages to your users
    - add extra checks that slow down your app

The version of Python you're using

3.9

Your operating system

Linux

Versions of your packages

sphinx-design: 0.0.13

Additional context

No response

rmorshea avatar Nov 12 '21 21:11 rmorshea

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Nov 12 '21 21:11 welcome[bot]

After looking a little more closely it looks like this might be caused by something else than what is described originally. I'm not really sure what right now...

rmorshea avatar Nov 12 '21 22:11 rmorshea