Skip to content

Commit 889b89d

Browse files
committed
优化站点侧边栏
1 parent 8b252fa commit 889b89d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/css/examples.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
h3.category-title {
21-
margin-top: 10px;
21+
margin-top: 0px;
2222
height: 40px;
2323
line-height: 40px;
2424
margin-bottom: 0;
@@ -111,5 +111,5 @@ h3.category-title {
111111
}
112112

113113
.category {
114-
padding-top: 40px;
114+
padding-top: 60px;
115115
}

examples/js/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function resizeCharts() {
125125
charts.height(260 * 0.8);
126126
}
127127
window.onresize = function () {
128-
charts.height(charts[0].offsetWidth * 0.8);
128+
resizeCharts();
129129
}
130130
}
131131

examples/leaflet/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ var exampleConfig = {
485485
name: "Elasticsearch",
486486
name_en: "Elasticsearch",
487487
content: {
488-
" ": {
488+
"viz": {
489489
name: "可视化",
490490
name_en: "visualization",
491491
content: [{

0 commit comments

Comments
 (0)