cass class ".ol-popup img" updated
This commit is contained in:
parent
e8e60f6608
commit
05e271a162
|
@ -754,7 +754,7 @@ public class LayerManager {
|
||||||
UploadedImageDV img = listUI.get(0);
|
UploadedImageDV img = listUI.get(0);
|
||||||
if (img.getListWsContent() != null) {
|
if (img.getListWsContent() != null) {
|
||||||
WorkspaceContentDV wsContent = img.getListWsContent().get(img.getListWsContent().size() - 1);
|
WorkspaceContentDV wsContent = img.getListWsContent().get(img.getListWsContent().size() - 1);
|
||||||
String theImgHTML = "<img class='popup-img-preview' src=\"" + wsContent.getLink() + "\"></img>";
|
String theImgHTML = "<img src=\"" + wsContent.getLink() + "\"></img>";
|
||||||
GWT.log("theImgHTML: " + theImgHTML);
|
GWT.log("theImgHTML: " + theImgHTML);
|
||||||
// GeoportalDataViewerConstants.print("The row are:
|
// GeoportalDataViewerConstants.print("The row are:
|
||||||
// "+flex.getRowCount());
|
// "+flex.getRowCount());
|
||||||
|
|
|
@ -36,7 +36,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ol-popup img {
|
.ol-popup img {
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ol-popup:after, .ol-popup:before {
|
.ol-popup:after, .ol-popup:before {
|
||||||
|
@ -83,10 +84,6 @@ body {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-img-preview{
|
|
||||||
max-height: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#page-view-details {
|
#page-view-details {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
|
|
Loading…
Reference in New Issue