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

DOCS: Improve sphinx-design card examples #885

Merged
merged 1 commit into from Aug 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 14 additions & 4 deletions docs/user_guide/web-components.rst
Expand Up @@ -87,19 +87,29 @@ Cards

.. grid::

.. grid-item-card:: Content of the first card
.. grid-item-card:: Only heading

.. grid-item-card:: Content of the second card
.. grid-item-card::

Only body.

But with multiple text paragraphs.

.. grid-item-card:: Heading and body

Content of the third card.

:bdg-primary:`example`

.. grid-item-card::
.. grid::

.. grid-item-card:: A card with a dropdown menu

.. dropdown:: :fa:`eye,mr-1` third card

Hidden content

.. grid-item-card:: Clickable fourth Card
.. grid-item-card:: A clickable card
:link: https://example.com

.. grid::
Expand Down