Fix overflow in code blocks
This commit is contained in:
parent
a4587427ac
commit
58fa80cc2b
1 changed files with 4 additions and 0 deletions
|
@ -571,6 +571,10 @@ export default class PostComponent extends Vue {
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
padding: $block-inner-padding;
|
padding: $block-inner-padding;
|
||||||
|
|
||||||
|
:deep(pre) {
|
||||||
|
overflow-x: scroll;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-attachment {
|
.post-attachment {
|
||||||
|
|
Loading…
Reference in a new issue