Skip to content

Commit

Permalink
fix: make pre scrollable in post
Browse files Browse the repository at this point in the history
  • Loading branch information
pajecawav committed Apr 14, 2024
1 parent 13526c9 commit dbe0274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/item/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ useHotkeys({
text-decoration: underline;
}
pre {
overflow-x: auto;
}
:global(.dark) & {
border-color: var(--neutral-700);
}
Expand Down

0 comments on commit dbe0274

Please sign in to comment.