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 93fec59a8a06eba81f51d5033c9021d45df5cee4..3dbc4aee399a7f10aecbfd6425703d0c350e75fe 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")) {