aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/components/PageContent/PageContent.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/PageContent/PageContent.astro')
-rw-r--r--examples/docs/src/components/PageContent/PageContent.astro7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/docs/src/components/PageContent/PageContent.astro b/examples/docs/src/components/PageContent/PageContent.astro
index e0d96b57c..9af4056c9 100644
--- a/examples/docs/src/components/PageContent/PageContent.astro
+++ b/examples/docs/src/components/PageContent/PageContent.astro
@@ -2,9 +2,8 @@
import MoreMenu from "../RightSidebar/MoreMenu.astro";
import TableOfContents from "../RightSidebar/TableOfContents";
-const { content, githubEditUrl } = Astro.props;
+const { content, headings, githubEditUrl } = Astro.props;
const title = content.title;
-const headings = content.astro.headings;
---
<article id="article" class="content">
@@ -29,9 +28,11 @@ const headings = content.astro.headings;
display: flex;
flex-direction: column;
}
- .content > section {
+
+ .content>section {
margin-bottom: 4rem;
}
+
.block {
display: block;
}