iamhyc / Overleaf-Workshop

Open Overleaf/ShareLaTex projects in vscode, with full collaboration support.
https://marketplace.visualstudio.com/items?itemName=iamhyc.overleaf-workshop
GNU Affero General Public License v3.0
562 stars 13 forks source link

[Feature Request] remove PageBorders in pdf.js viewer #177

Closed qianchd closed 3 months ago

qianchd commented 3 months ago

Disclaimer

Please make sure all the items below is checked (i.e., prefixed with "- [x]")

  • [ x] The request feature has not been addressed in the feature request list.
  • [ x] The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

Motivation

Please give strong enough reason(s) why the feature is demanded.

  • The current pdf viewer with the page-width mode obtains large borders in the left and right side image

Feature Description

Currently, in the file ./iamhyc.overleaf-workshop-0.13.1\views\pdf-viewer\vendor\web\viewer.js, by add a option removePageBorders: true in the command new _pdf_viewer.PDFViewer:

image