Make pre blocks horizontally-scrollable

Add the moment entries with code example/outputs inside pre blocks
can overlap the list of subscriptions on the right side. With
this patch overlapping entries will be displayed inside a
horizontally-scrollable box.

Change-Id: I7f2e42527d5bfc97eadcc30644a10f2d0ff35fee
This commit is contained in:
Christian Berendt 2014-08-11 19:08:29 +02:00
parent e5caf59ced
commit 1f04f4dbdd
1 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,12 @@ img.face {
color: inherit; color: inherit;
} }
.entry .content pre {
overflow: auto;
word-wrap: normal;
white-space: pre;
}
.sidebar { .sidebar {
position: absolute; position: absolute;
top: 0px; top: 0px;