Fossil SCM
Add missing CSS for verbatim blocks in tickets to avoid wrapping and set a default white background.
Commit
984735a752f04810623e34f6c02cdbafd9aa38c8
Parent
5b86c3d5668f9db…
1 file changed
+7
+7
| --- src/skins.c | ||
| +++ src/skins.c | ||
| @@ -117,10 +117,17 @@ | ||
| 117 | 117 | @ } |
| 118 | 118 | @ /* Hyperlink colors */ |
| 119 | 119 | @ div.content a { color: #604000; } |
| 120 | 120 | @ div.content a:link { color: #604000;} |
| 121 | 121 | @ div.content a:visited { color: #600000; } |
| 122 | +@ | |
| 123 | +@ /* <verbatim> blocks */ | |
| 124 | +@ pre.verbatim { | |
| 125 | +@ background-color: #ffffff; | |
| 126 | +@ padding: 0.5em; | |
| 127 | +@ white-space: pre-wrap; | |
| 128 | +@ } | |
| 122 | 129 | @ |
| 123 | 130 | @ /* Some pages have section dividers */ |
| 124 | 131 | @ div.section { |
| 125 | 132 | @ margin-bottom: 0px; |
| 126 | 133 | @ margin-top: 1em; |
| 127 | 134 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -117,10 +117,17 @@ | |
| 117 | @ } |
| 118 | @ /* Hyperlink colors */ |
| 119 | @ div.content a { color: #604000; } |
| 120 | @ div.content a:link { color: #604000;} |
| 121 | @ div.content a:visited { color: #600000; } |
| 122 | @ |
| 123 | @ /* Some pages have section dividers */ |
| 124 | @ div.section { |
| 125 | @ margin-bottom: 0px; |
| 126 | @ margin-top: 1em; |
| 127 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -117,10 +117,17 @@ | |
| 117 | @ } |
| 118 | @ /* Hyperlink colors */ |
| 119 | @ div.content a { color: #604000; } |
| 120 | @ div.content a:link { color: #604000;} |
| 121 | @ div.content a:visited { color: #600000; } |
| 122 | @ |
| 123 | @ /* <verbatim> blocks */ |
| 124 | @ pre.verbatim { |
| 125 | @ background-color: #ffffff; |
| 126 | @ padding: 0.5em; |
| 127 | @ white-space: pre-wrap; |
| 128 | @ } |
| 129 | @ |
| 130 | @ /* Some pages have section dividers */ |
| 131 | @ div.section { |
| 132 | @ margin-bottom: 0px; |
| 133 | @ margin-top: 1em; |
| 134 |