File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11# examples-container {
2- position : absolute;
32 margin-left : 205px ;
43 z-index : 10 ;
54 background-color : # f9f9f9 ;
65}
6+
77# charts-list {
88 margin : 0px ;
9- padding-left : 20px ;
9+ padding-left : 20px ;
1010 list-style : none;
1111 overflow : inherit;
1212}
@@ -43,14 +43,11 @@ h3.category-title {
4343 overflow : hidden;
4444 text-overflow : ellipsis;
4545 white-space : nowrap;
46- padding : 10px 10px 2px 10 px ;
46+ padding : 10px 10px 2px 0 px ;
4747 margin : 0 ;
4848 font-weight : normal;
4949}
5050
5151# charts-list .chart .chart-link .chart-area {
5252 width : 100% ;
53- height : 208px ;
54- background-color : # e2e2e2 ;
55- margin : 8px ;
5653}
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ function getThumbLocation() {
9999//chart宽高自适应
100100function resizeCharts ( ) {
101101 var charts = $ ( "#charts-list .chart .chart-area" ) ;
102+ charts . height ( charts [ 0 ] . offsetWidth * 0.8 ) ;
102103 window . onresize = function ( ) {
103104 charts . height ( charts [ 0 ] . offsetWidth * 0.8 ) ;
104105 }
Original file line number Diff line number Diff line change 1111 < li class ="active "> < a href ="# " data-toggle ="dropdown " class ="dropdown-toggle "> 示例< b
1212 class ="caret "> </ b > </ a >
1313 < ul class ="dropdown-menu nav_apis_box_li ">
14- < li > OpenLayers</ li >
1514 < li > Leaflet</ li >
15+ < li > OpenLayers</ li >
1616 < li > WebGL</ li >
1717 </ ul >
1818 </ li >
You can’t perform that action at this time.
0 commit comments