diff --git a/components/blocks/Features.tsx b/components/blocks/Features.tsx
index fade53ad0..d14a63147 100644
--- a/components/blocks/Features.tsx
+++ b/components/blocks/Features.tsx
@@ -2,6 +2,8 @@ import { Actions } from './Actions'
import { Container } from './Container'
import { Prism } from '../styles/Prism'
import { tinaField } from 'tinacms/dist/react'
+import DocsRichText from '../styles/DocsRichText'
+import styled from 'styled-components'
export function FeatureBlock({ data, index }) {
const isReversed = index % 2 === 1
@@ -72,17 +74,19 @@ export function FeatureBlock({ data, index }) {
'em',
}}
>
-
+
+
+
)}
@@ -198,3 +202,7 @@ export const FeatureVideo = ({ src, className = '' }) => {
)
}
+
+const CodeWrapper = styled.div`
+ ${DocsRichText}
+`
diff --git a/components/blocks/Story.tsx b/components/blocks/Story.tsx
index f5e65a98c..57b1ae37e 100644
--- a/components/blocks/Story.tsx
+++ b/components/blocks/Story.tsx
@@ -3,6 +3,8 @@ import { useInView } from 'react-intersection-observer'
import { Container } from './Container'
import { Actions } from './Actions'
import { Prism } from '../styles/Prism'
+import styled from 'styled-components'
+import DocsRichText from 'components/styles/DocsRichText'
const features = [
{
@@ -227,13 +229,17 @@ const Pane = ({ data, position, ...props }) => {
1.25 * (data.file.textScale ? data.file.textScale : 1) + 'em',
}}
>
-
+
+
+
)}
@@ -500,3 +506,7 @@ export function StoryBlock({ data, index }) {
>
)
}
+
+const CodeWrapper = styled.div`
+ ${DocsRichText}
+`