} else if (zoomOption.equals("widthlimited")) {
// default
} else if (zoomOption.equals("width")) {
- zoomStyle = "width: 100%;";
+ zoomStyle = "max-width: 100%;";
disabledZoomWidthLimited = false;
disabledZoomWidth = true;
} else if (zoomOption.equals("height")) {
NanoHTTPD.MIME_PLAINTEXT, "Error when processing request");
}
}
-
+
protected Response newInputStreamResponse(String mimeType, InputStream in) {
if (in == null) {
return NanoHTTPD.newFixedLengthResponse(Status.NO_CONTENT, "",