Attach (recommended) or Link to PDF file
Any PDF with attachments and/or layers, e.g.
Web browser and its version
N/A
Operating system and its version
N/A
PDF.js version
master
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
- Open the PDFs in the viewer.
- Open the sidebar.
- Choose "Attachments" or "Layers", depending on the file.
What is the expected behavior?
That the viewsManagerHeaderLabel element is centred for "Attachments" and "Layers", the way it is for "Pages" and "Document outline".
What went wrong?
The viewsManagerHeaderLabel element is right-aligned.
Link to a viewer
No response
Additional context
Note: I seem to recall that this used to be correct, so I believe that it's a recent regression.