change diff view style, try to fix #486
This commit is contained in:
parent
673eaabcdb
commit
c64ecd7ece
|
@ -2,7 +2,6 @@
|
||||||
$this->headTitle($this->config->title->site);
|
$this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->author);
|
$this->headTitle($this->config->title->author);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
||||||
$this->headScript()->appendFile('/js/diffview.js');
|
$this->headScript()->appendFile('/js/diffview.js');
|
||||||
$this->headScript()->appendFile('/js/difflib.js');
|
$this->headScript()->appendFile('/js/difflib.js');
|
||||||
$this->headLink()->appendStylesheet('/css/author.css');
|
$this->headLink()->appendStylesheet('/css/author.css');
|
||||||
|
|
|
@ -30,7 +30,9 @@ or implied, of Chas Emerick.
|
||||||
table.diff {
|
table.diff {
|
||||||
border-collapse:collapse;
|
border-collapse:collapse;
|
||||||
border:1px solid darkgray;
|
border:1px solid darkgray;
|
||||||
white-space:pre-wrap
|
white-space:pre-wrap;break-all;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break:break-all;
|
||||||
}
|
}
|
||||||
table.diff tbody {
|
table.diff tbody {
|
||||||
font-family:Courier, monospace
|
font-family:Courier, monospace
|
||||||
|
|
Loading…
Reference in New Issue