Content
View differences
Updated by Judith Roth 4 days ago
**As** a user who uses documents besides other applications (e.g. in a browser or operating system split view)
**I want to** be able to hide the tabs when the viewport is small
**so that** I can see the document contents better
**Acceptance criteria**
* On small viewports, the document itself can use the whole width
* either by allowing to collapse the tabs (e.g. like the left-side menu is collapsible)
* or by moving the tabs to bottom
* or by rendering the tabs like the mobile view does (I don't think that is possible without reload but we need to check) reload)
* On wide desktop viewports and mobile nothing changes
* **tdb**: What exactly is a "small viewport" - around 900px and less? 900px? What are our usual breakpoints?
**Technical notes**
* The problem is only on desktop - when a mobile device is detected, the tabs are rendered in a completely different way
* It is already possible to collapse the menu on the left side of the document and it will also auto-hide when the viewport gets too small
* Work packages solve the same problem by moving the tabs to the bottom on narrow desktop viewports (but that would introduce a _third_ position of the document tabs, which is not really user-friendly and also it's bad for long documents)
**Out of scope**
* A complete rework of the documents layout
**I want to** be able to hide the tabs when the viewport is small
**so that** I can see the document contents better
**Acceptance criteria**
* On small viewports, the document itself can use the whole width
* either by allowing to collapse the tabs (e.g. like the left-side menu is collapsible)
* or by moving the tabs to bottom
* or by rendering the tabs like the mobile view does (I don't think that is possible without reload but we need to check)
* On wide desktop viewports and mobile nothing changes
* **tdb**: What exactly is a "small viewport" - around 900px and less?
**Technical notes**
* The problem is only on desktop - when a mobile device is detected, the tabs are rendered in a completely different way
* It is already possible to collapse the menu on the left side of the document and it will also auto-hide when the viewport gets too small
* Work packages solve the same problem by moving the tabs to the bottom on narrow desktop viewports (but that would introduce a _third_ position of the document tabs, which is not really user-friendly and also it's bad for long documents)
**Out of scope**
* A complete rework of the documents layout