X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FWebLibraryServerHtml.java;h=63c50c54df64c4ad5ed5810d030a5783e30ad12e;hb=bd743ca20c648a0c195dcd0650a3b2c5600b7833;hp=93fec59a8a06eba81f51d5033c9021d45df5cee4;hpb=a1ddc9821aaf046b10914a57b0a806cfb3b0648a;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/WebLibraryServerHtml.java b/src/be/nikiroo/fanfix/library/WebLibraryServerHtml.java index 93fec59..63c50c5 100644 --- a/src/be/nikiroo/fanfix/library/WebLibraryServerHtml.java +++ b/src/be/nikiroo/fanfix/library/WebLibraryServerHtml.java @@ -644,7 +644,7 @@ abstract class WebLibraryServerHtml implements Runnable { } 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")) { @@ -759,7 +759,7 @@ abstract class WebLibraryServerHtml implements Runnable { NanoHTTPD.MIME_PLAINTEXT, "Error when processing request"); } } - + protected Response newInputStreamResponse(String mimeType, InputStream in) { if (in == null) { return NanoHTTPD.newFixedLengthResponse(Status.NO_CONTENT, "",