fix: collapsed attrbox/footer when content is too small in entry pages.
This commit is contained in:
@@ -21,6 +21,7 @@ const { title, frontmatter } = Astro.props;
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.prose {
|
.prose {
|
||||||
|
min-height: 100vh;
|
||||||
width: 720px;
|
width: 720px;
|
||||||
max-width: calc(100% - 2em);
|
max-width: calc(100% - 2em);
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@@ -52,7 +53,7 @@ const { title, frontmatter } = Astro.props;
|
|||||||
<BreadCrumbs current={frontmatter.fname}/>
|
<BreadCrumbs current={frontmatter.fname}/>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
<BackRefs frontmatter={frontmatter}/>
|
<BackRefs frontmatter={frontmatter}/>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user