From f363928cde46f24a35543278265843e0adc6af82 Mon Sep 17 00:00:00 2001 From: mbehzad Date: Thu, 11 Apr 2024 09:53:25 +0200 Subject: [PATCH] feat(pv-stylemark): add styling for table and blockquote from the markdown --- .../dds-component/dds-component.scss | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/packages/pv-stylemark/ui/components/dds-component/dds-component.scss b/packages/pv-stylemark/ui/components/dds-component/dds-component.scss index ea8573b..7c3f018 100644 --- a/packages/pv-stylemark/ui/components/dds-component/dds-component.scss +++ b/packages/pv-stylemark/ui/components/dds-component/dds-component.scss @@ -62,6 +62,38 @@ } } + table { + display: block; + overflow: auto; + border-spacing: 0; + border-collapse: collapse; + } + + th { + padding: 6px 12px; + border: 1px solid $dds-color__black-020; + font-weight: 600; + } + + td { + padding: 6px 12px; + border: 1px solid $dds-color__black-020; + } + + tr { + background-color: $dds-color__white; + + &:nth-child(2n) { + background-color: $dds-color__black-000; + } + } + + blockquote { + padding: 0 16px; + color: $dds-color__black-050; + border-left: 4px solid $dds-color__black-030; + } + dds-example { margin: 24px 0 40px;