From 7ad2d7775b6d77349486249da18f85b1ee171072 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Fri, 19 Aug 2022 23:43:49 +0200 Subject: [PATCH] Improve sphinx-design card examples Added: - a card with multi-paragraph text body - a simple card without a heading (there wars the dropdown card without heading but the dropdown looks already quite different) --- docs/user_guide/web-components.rst | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/user_guide/web-components.rst b/docs/user_guide/web-components.rst index 2fe7b6637..c0239cddc 100644 --- a/docs/user_guide/web-components.rst +++ b/docs/user_guide/web-components.rst @@ -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::