Skip to content

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

Description

@rmorshea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions