From a4aca39b5359dcadd760eea5a7cd529d0aeb53c7 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Tue, 3 Dec 2024 19:18:17 +0100 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Feat(web): Introduce `Card` component #DS-1397 --- packages/web/src/scss/components/Card/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/web/src/scss/components/Card/README.md b/packages/web/src/scss/components/Card/README.md index 7145c55b9c..9bb1c9a310 100644 --- a/packages/web/src/scss/components/Card/README.md +++ b/packages/web/src/scss/components/Card/README.md @@ -219,6 +219,23 @@ CardBody is the main content area of the Card. ``` +To make the CardBody selectable and copyable, use the `CardBody--selectable` modifier: + +```html +
+

+ +
    + +
+
+
+``` + +ℹ️ We are white-listing the selectable and copyable elements, so this option only affects lists and paragraphs. + ### CardTitle CardTitle displays the main title of the Card. It uses the `

` heading element by default, but you can use any other