Skip to content

Commit fd6ed91

Browse files
ol和leaflet影响服务的内容溢出问题 review by luoxiao
1 parent 620a244 commit fd6ed91

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

examples/leaflet/imageService.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
color: rgba(0, 0, 0, 0.65);
170170
}
171171
.modal-dialog {
172-
width: 800px !important;
172+
width: 1100px !important;
173173
top: 50px;
174174
}
175175
.modal-body {
@@ -197,6 +197,13 @@
197197
border-right: 1px solid #e8e8e8;
198198
font-size: 14px;
199199
line-height: 1.5;
200+
word-wrap: break-word;
201+
}
202+
.modal-content-row .modal-content-item-content:nth-child(2){
203+
width: 193px;
204+
}
205+
.modal-content-row .modal-content-item-content:nth-child(4){
206+
width: 479px;
200207
}
201208
</style>
202209
</head>

examples/openlayers/imageService.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
color: rgba(0, 0, 0, 0.65);
162162
}
163163
.modal-dialog {
164-
width: 800px !important;
164+
width: 1100px !important;
165165
top: 50px;
166166
}
167167
.modal-body {
@@ -190,6 +190,12 @@
190190
font-size: 14px;
191191
line-height: 1.5;
192192
}
193+
.modal-content-row .modal-content-item-content:nth-child(2){
194+
width: 193px;
195+
}
196+
.modal-content-row .modal-content-item-content:nth-child(4){
197+
width: 479px;
198+
}
193199
</style>
194200
</head>
195201

@@ -473,7 +479,7 @@ <h4 class="modal-title" id="myModalLabel"></h4>
473479
function (feature) {
474480
selectedFeature = feature;
475481
$('#myModal').modal('show');
476-
showTifInfo(selectedFeature.id_);
482+
showTifInfo(selectedFeature.V);
477483
return true;
478484
},
479485
{

0 commit comments

Comments
 (0)