Docs: Only htmlsingle sets overflow:auto on pre blocks, other output formats have to accept a scrollbar for the whole document
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6379 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
45da52f51b
commit
b621cdcda8
2 changed files with 5 additions and 2 deletions
|
@ -5,5 +5,9 @@
|
|||
|
||||
\cfg{xhtml-leaf-level}{0}
|
||||
|
||||
\cfg{xhtml-head-end}{<style type='text/css'>---HTML:HEAD:STYLE:CSS---</style>}
|
||||
|
||||
\#SConscript will replace ---HTML:HEAD:STYLE:CSS--- with the CSS from style.css
|
||||
\#To avoid a horizontal scrollbar for the whole document, pre blocks (code samples) use overflow:auto; and the extra padding is to prevent the scrollbar from obscuring single lines (In some versions on IE?) forums.winamp.com/showthread.php?t=365132
|
||||
|
||||
\cfg{xhtml-head-end}{<style type='text/css'>---HTML:HEAD:STYLE:CSS--- pre\{overflow:auto;padding-top:0.35em;padding-bottom:0.35em;\}</style>}
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ pre {
|
|||
font-family: Courier New, Courier, mono;
|
||||
background-color: #F7F7F7;
|
||||
padding: 1px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
pre b {
|
||||
text-decoration: underline;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue