Skip to content
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

Tabs not displaying correctly when title contains "``" or guilabel #155

Open
filipesmg opened this issue Mar 14, 2022 · 1 comment
Open
Labels

Comments

@filipesmg
Copy link

Describe the bug

context
When I create tabs containing in-line raw text (using double ticks as example) or :guilabel:label on the title.

expectation
I expected the tabs to have no border at the bottom, consistent with other cases.

bug
But instead the other tabs get an extra line at the bottom when they are selected (see attached image).
Here's the code I used to create

Screenshot 2022-03-14 at 11 49 07

Screenshot 2022-03-14 at 11 54 35

Reproduce the bug

Here is an example code that I used to create the attached images.

.. tabs::

    .. tab:: ``tab1``

        test test test test test test test test 

    .. tab:: Tab2

        test test test test test test test test 

.. tabs::

    .. tab:: ``tab1``

        test test test test test test test test 

    .. tab:: Tab2

        test test test test test test test test 

.. tabs::

    .. tab:: Tab1

        test test test test test test test test 

    .. tab:: :guilabel:`Tab2`

        test test test test test test test test 

.. tabs::

    .. tab:: Tab1

        test test test test test test test test 

    .. tab:: :guilabel:`Tab2`

        test test test test test test test test 

List your environment

I'm on MacOS 12.2.1, python 3.9.5 and:

Sphinx                        4.4.0
sphinx-rtd-theme              1.0.0
sphinx-tabs                   3.2.0

But I have also tested sphinx-tabs 3.3.0.

@filipesmg filipesmg added the bug label Mar 14, 2022
@welcome
Copy link

welcome bot commented Mar 14, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant