weblib: zoomwidth max to 1:1
authorNiki Roo <niki@nikiroo.be>
Thu, 21 May 2020 11:47:53 +0000 (13:47 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 21 May 2020 11:47:53 +0000 (13:47 +0200)
src/be/nikiroo/fanfix/library/WebLibraryServerHtml.java

index 93fec59..3dbc4ae 100644 (file)
@@ -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")) {