fix pre tag overflow the wrap

pull/4199/head
Soul 1 year ago committed by GitHub
parent e99db8087a
commit 6ba692a315
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -47,3 +47,12 @@ const { site, theme, page, frontmatter } = useData()
## More ## More
Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
<style scoped>
pre {
width: 100%;
overflow: auto;
background-color: var(--vp-code-block-bg);
padding: 1em;
}
</style>

Loading…
Cancel
Save