Skip to content

Commit 708347e

Browse files
committed
Fix content overflowing on mobile
1 parent 03fd337 commit 708347e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/templates/remark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ code {
2424
:not(pre) > code[class*='language-'] {
2525
background-color: rgb(243, 243, 243) !important;
2626
color: rgb(20, 20, 20) !important;
27-
white-space: pre;
27+
white-space: pre-wrap;
2828
}

src/templates/theme.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,6 @@ img + p {
147147

148148
img {
149149
margin-bottom: 2rem;
150+
max-width: 100%;
151+
height: auto;
150152
}

0 commit comments

Comments
 (0)