Fixed code formatting bugs on the iPhone
This commit is contained in:
parent
7f0dca502a
commit
830eac5338
@ -31,6 +31,8 @@ a:hover {
|
|||||||
/* set the tab size for browsers that support it */
|
/* set the tab size for browsers that support it */
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
-moz-tab-size: 4;
|
-moz-tab-size: 4;
|
||||||
|
/* needed for the iPhone so that the two columns (line numbers and code) don't have different font sizes */
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight > * {
|
.highlight > * {
|
||||||
@ -45,7 +47,12 @@ a:hover {
|
|||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight .lntable td:last-child {
|
.highlight td.lntd pre {
|
||||||
|
/* needed to fix an iPhone scrolling bug */
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight td.lntd:last-child {
|
||||||
/* needed until this bug is fixed: https://github.com/alecthomas/chroma/issues/225 */
|
/* needed until this bug is fixed: https://github.com/alecthomas/chroma/issues/225 */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user