Skip to content

Commit b935dcd

Browse files
Improve styling behavior on mobile device
1 parent 9eeeb45 commit b935dcd

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

styles/markdown.scss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,21 @@
214214
border: none;
215215
}
216216
}
217-
}
217+
218+
p {
219+
code, tt {
220+
display: inline-block;
221+
max-width: 100%;
222+
line-height: initial;
223+
overflow: auto;
224+
margin: 0;
225+
vertical-align: middle;
226+
}
227+
}
228+
229+
span {
230+
code, tt {
231+
white-space: pre-line;
232+
}
233+
}
234+
}

0 commit comments

Comments
 (0)