Skip to content

Commit

Permalink
fix(ui): breake longer strings on inline code blocks
Browse files Browse the repository at this point in the history
fixx #430
  • Loading branch information
mateusfg7 committed May 25, 2023
1 parent 41d699e commit 2e4513b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
}

code {
@apply rounded-lg bg-black/[.05] py-[0.16rem] px-1 dark:bg-white/[.05];
@apply text-ellipsis break-words rounded-lg bg-black/[.05] py-[0.16rem] px-1 dark:bg-white/[.05];
}

div[data-rehype-pretty-code-fragment=''] {
Expand Down

0 comments on commit 2e4513b

Please sign in to comment.