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

Admonition title has incorrect margins when admonition appears inside a table #678

Open
pradyunsg opened this issue Jul 15, 2023 Discussed in #677 · 0 comments
Open

Admonition title has incorrect margins when admonition appears inside a table #678

pradyunsg opened this issue Jul 15, 2023 Discussed in #677 · 0 comments
Labels
bug Something isn't working

Comments

@pradyunsg
Copy link
Owner

Discussed in #677

Originally posted by samsav July 15, 2023
I stumbled upon something I believe to be a bug. In furo 2023.5.20, when an admonition appears inside a table, the margins on the admonition title are inconsistent with how they appear elsewhere:

note-title-inside-table-has-incorrect-margins

From what I can tell, it looks like that the issue is that that the margin property for the admonition title gets overridden from the styling for p elements inside tables:

issue-with-note-title-inside-table

Unfortunately I don't have a live example to share -- I've only encountered the issue in my local environment when testing a newer version of Furo. Our production environment uses furo 2020.12.9b21 and the issue doesn't happen there (see https://docs.kanzi.com/3.9.6/en/working-with/bindings/reference-for-bindings-expressions.html#multiplication for reference). The RST source for the example in the first screenshot looks like this:

.. list-table::
   :class: layout
   :widths: 1 6

   *  - **Syntax**
      - ``value1 * value2``

   *  - **Parameters**
      - .. list-table::
           :class: layout
           :widths: 1 5

           *  - ``value1``
              - color, int, float, Vector2, Vector3, Vector4, Matrix3, Matrix4, Srt2D, Srt3D, or boolean: multiplicand

           *  - ``value2``
              - color, int, float, Vector2, Vector3, Vector4, Matrix3, Matrix4, Srt2D, Srt3D, or boolean: multiplier

        .. note::

           When you use the multiplication operator, keep in mind that:

           -  Only one of the parameters can be boolean.
           -  You can multiply Srt2D only by Matrix3, and Srt3D only by Matrix4.

Let me know if I can provide any more information on this!

@pradyunsg pradyunsg added the bug Something isn't working label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant