From 64de08756f5270abaac19a64afd3a3616d7680b1 Mon Sep 17 00:00:00 2001 From: Socvest <82335390+Socvest@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:08:15 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 79bc73b..b7d8afc 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ In the following table the list of parameters that can be provided to the `pdf_v | name | description | |-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | input | The source of the PDF file. Accepts a file path, URL, or binary data. | -| width | Width of the PDF viewer in pixels. It defaults to 700 pixels. | +| width | Width of the PDF viewer in pixels. It defaults to 700 pixels. Can set it to string percentage also. For example 90% which will make the pdf render to 90% of the container/window/screen width. If the pdf width is larger than the screen width, it will horizontally scroll. | | height | Height of the PDF viewer in pixels. If not provided, the viewer shows the whole content. | | annotations | A list of annotations to be overlaid on the PDF. Format is described [here](#annotation-format). | | pages_vertical_spacing | The vertical space (in pixels) between each page of the PDF. Defaults to 2 pixels. |