Skip to content

Commit 493fca9

Browse files
committed
Add overflow/prewrap CSS for all three themes
1 parent b7ef995 commit 493fca9

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

app/src/main/assets/dark.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,14 @@ header.mbm {
233233
text-justify: none;
234234
}
235235

236+
.pre-overflow #article pre {
237+
overflow: auto;
238+
}
239+
240+
.pre-prewrap #article pre {
241+
white-space: pre-wrap;
242+
}
243+
236244
#article blockquote *, #article pre * {
237245
background: inherit;
238246
}

app/src/main/assets/main.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,14 @@ header.mbm {
226226
text-justify: none;
227227
}
228228

229+
.pre-overflow #article pre {
230+
overflow: auto;
231+
}
232+
233+
.pre-prewrap #article pre {
234+
white-space: pre-wrap;
235+
}
236+
229237
#article blockquote *, #article pre * {
230238
background: inherit;
231239
}

app/src/main/assets/solarized.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,14 @@ header.mbm {
241241
text-justify: none;
242242
}
243243

244+
.pre-overflow #article pre {
245+
overflow: auto;
246+
}
247+
248+
.pre-prewrap #article pre {
249+
white-space: pre-wrap;
250+
}
251+
244252
#article blockquote *, #article pre * {
245253
background: inherit;
246254
}

0 commit comments

Comments
 (0)