diff --git a/packages/common/src/scss/components/_BlockRichTable.scss b/packages/common/src/scss/components/_BlockRichTable.scss index 76e33e56..bf4ca996 100644 --- a/packages/common/src/scss/components/_BlockRichTable.scss +++ b/packages/common/src/scss/components/_BlockRichTable.scss @@ -1,28 +1,4 @@ .BlockRichTable { - table { - @apply border-gray-light-mid border-t border-b border-collapse w-full; - } - - thead { - @apply bg-jpl-blue-darker; - } - - th { - @apply p-3 lg:p-5 border-gray-light-mid border-b font-secondary uppercase text-base leading-tight tracking-wider text-white text-left font-normal; - } - - tbody { - @apply text-gray-dark; - } - - tbody { - tr { - @apply table-row bg-white border-t border-gray-light-mid; - } - td { - @apply p-3 lg:p-5 align-top; - } - } .BlockImageStandard, .BlockText { @apply min-w-[12rem] lg:min-w-[15rem]; diff --git a/packages/vue/src/components/BlockRichTable/BlockRichTable.vue b/packages/vue/src/components/BlockRichTable/BlockRichTable.vue index c7b574e2..b444868b 100644 --- a/packages/vue/src/components/BlockRichTable/BlockRichTable.vue +++ b/packages/vue/src/components/BlockRichTable/BlockRichTable.vue @@ -25,15 +25,24 @@ export default defineComponent({ >
{{ headCell.text }} | @@ -47,7 +56,7 @@ export default defineComponent({
@@ -75,11 +84,12 @@ export default defineComponent({ |
---|
My custom caption.
', + displayCaption: true, + blockType: 'ImageBlock' + } + ], + [ + { + blockType: 'RichTextBlock', + value: + 'Rich text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae justo quis justo malesuada molestie. Cras sed tincidunt dui.
\n' + } + ], + + [ + { + blockType: 'CharBlock', + value: + "Geologists are scientists who study a planet's solid features, like soil, rocks, and minerals. There are all kinds of rocks and minerals that make up our planet – as well as the Moon, Mars, and other rocky worlds. By studying these features, we can learn more about how rocky worlds form and change over time." + } + ] + ] + } + }, { blockType: 'ListBlock', field: 'card_grid',