|
@@ -96,7 +96,7 @@ function getInfomation() {
|
|
|
str += item.title
|
|
|
}
|
|
|
str += '</h2></div>' +
|
|
|
- '<div><pre>' + item.content + '</pre><div></div>';
|
|
|
+ '<div class="contentWrapper"><pre>' + item.content + '</pre><div></div>';
|
|
|
str = `<div class="infoWrapper">${str}</div>`
|
|
|
$(".infos").append(str);
|
|
|
$(".anchors ul").append(anchors);
|
|
@@ -198,7 +198,7 @@ function downLoadFile() {
|
|
|
function adjustWidth() {
|
|
|
var wt = window.innerWidth || document.documentElement.clientWidth;
|
|
|
$(".titleH2").width(wt- 0.2*wt -33 - 200 - 17 - 40 -15 + 'px')
|
|
|
- $("pre").width(wt- 0.2*wt -33 - 200 - 17 - 40 -15 + 'px')
|
|
|
+ $(".contentWrapper").width(wt- 0.2*wt -33 - 200 - 17 - 40 -15 + 'px')
|
|
|
}
|
|
|
|
|
|
function adjustHeight() {
|