# Panel takes the whole width of the viewer

**URL:** <https://pdfjs.community/t/panel-takes-the-whole-width-of-the-viewer/3237>\
**Category:** Technical Support\
**Created:** [April 23, 2024, 9:10am UTC](https://pdfjs.community/t/panel-takes-the-whole-width-of-the-viewer/3237 "2024-04-23T09:10:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![petyaminkova91](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@petyaminkova91](https://pdfjs.community/u/petyaminkova91)\
**Post date:** [April 23, 2024, 9:10am UTC](https://pdfjs.community/t/panel-takes-the-whole-width-of-the-viewer/3237/1 "2024-04-23T09:10:33Z")

</div>

PDF.js Express Viewer

**PDF.js Express Version**

**Detailed description of issue**  
{Description here}

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/8/8747519a2f2895558f9007c39cc324cd05c0d66c.png)

---

<div class="post-metadata">

**Author:** ![petyaminkova91](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@petyaminkova91](https://pdfjs.community/u/petyaminkova91)\
**Post date:** [April 24, 2024, 8:21am UTC](https://pdfjs.community/t/panel-takes-the-whole-width-of-the-viewer/3237/3 "2024-04-24T08:21:21Z")

</div>

Hi! What i found so far is that this happens on a laptop, not on a bigger screen.

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [May 2, 2024, 10:55pm UTC](https://pdfjs.community/t/panel-takes-the-whole-width-of-the-viewer/3237/4 "2024-05-02T22:55:37Z")

</div>

Hello petyaminkova91,

Thank you for reaching out! I was unable to reproduce this, can you provide a sample project or a code snippet to reproduce the issue?

Best regards,  
Tyler
