Allow code samples to overflow on mobiles in the documentation

This commit is contained in:
Saivann 2015-08-01 22:27:18 -04:00
parent 39c413eead
commit 304bd1fada

View file

@ -1003,7 +1003,7 @@ div.post {
padding-top: 20px; padding-top: 20px;
} }
.highlight { background: #ffffff; } .highlight { background: transparent; }
.highlight .c { color: #999988; font-style: italic } /* Comment */ .highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */ .highlight .k { font-weight: bold } /* Keyword */
@ -2203,6 +2203,18 @@ h2 .rssicon{
h2{ h2{
text-align:center; text-align:center;
} }
.toccontent .multicode,
.toccontent .multicode pre,
.toccontent pre{
display: table; /* Triggers a block formating context so the container expands with the content */
}
.toccontent .multicode,
.toccontent pre{
padding:10px;
}
.toccontent .multicode pre{
padding:0;
}
.titleicon, .titleicon,
.warningicon{ .warningicon{
display:block; display:block;