Content
View differences
Updated by Parimal Satyal 2 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 (up to tablet: 1012px), viewports, the document will go full width itself can use the whole width
* the tabs (attachment) move below the document
* ~~either either by allowing to collapse the tabs (e.g. like the left-side menu is collapsible)~~ collapsible)
* or by moving the tabs to bottom
* ~~or by rendering the tabs like the mobile view does does~~ (I don't think that is possible without reload but we need to check)~~ check)
* On wide desktop viewports (1012px and above), mobile nothing changes
* Make this change device-agnostic
* This means we'll lose the current mobile behaviour of attachments becoming **tdb**: What exactly is a second tab on top; this was a non-standard implementaiton. Similar behaviour will be restored when we implement a proper right-hand section for documents.
"small viewport" - around 900px and less? 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 (up to tablet: 1012px),
* the tabs (attachment) move below the document
* ~~either
*
*
* On wide desktop viewports (1012px and above),
* Make this change device-agnostic
* This means we'll lose the current mobile behaviour of attachments becoming
* 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