弹出的 prettyPhoto 最大宽度和高度太大

prettyPhoto max width and height on pop up too big

我正在使用 No Margin for Errors 的最新版本并将 allow_resize 设置为 true 但它仍然很大.. 我如何为其设置最大值 width/height?

我已经将视口设置为

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />

img {最大宽度:100% !important;}

将此行放入样式表并检查!