Skip to content

Commit 02d62a7

Browse files
committed
chore: fix codeblocks causing the other content to extend beyond the viewport
1 parent 190722d commit 02d62a7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/assets/stylesheets/application.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ mark {
127127
font-style: italic;
128128
font-weight: bold;
129129
}
130-
130+
code {
131+
white-space: pre-wrap;
132+
word-break: break-word;
133+
}
131134
pre,
132135
code,
133136
kbd,
@@ -699,7 +702,6 @@ header.clearfix p {
699702
display: flex;
700703
padding: 0 2rem;
701704
}
702-
703705
.docs .container .main h2 {
704706
border-bottom: 1px solid #eee;
705707
padding-bottom: 0.8rem;

0 commit comments

Comments
 (0)