Skip to content

Commit

Permalink
Handle table overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sukso96100 committed Feb 25, 2024
1 parent db71e01 commit e9b5e77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/layouts/MarkdownLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ type Props = MarkdownLayoutProps<{
const { frontmatter } = Astro.props;
---

<style is:global>
table {
display: block;
overflow-x: auto;
word-break: keep-all;
}
</style>
<Shell title={frontmatter.title} description={frontmatter.description}>
<Strip bordered shallow colSize={8} element="section">
<h1>{frontmatter.title}</h1>
Expand Down

0 comments on commit e9b5e77

Please sign in to comment.