stable
Clone or download
Read-only
The TOC can now be open or closed in medium and large screens. In small screens the TOC is always displayed, because it is always displayed on top of the document and do not take horizontal place, so no need to open/close it. In medium screens if there is enough room, when sidebar is collapsed the artidoc is displayed as a document (when expanded, artidoc still takes the full width). Note: toc/ will be moved to sidebar/toc/ in a dedicated contribution to not clutter the review. Part of story #40457: Modify flat document outline Change-Id: If49d3d55fd2ffcc5321f0ba1efe55a6acc055373
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/scripts/artidoc/po/fr_FR.po | +6 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentContent.vue | +22 | −5 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.test.ts | +3 | −3 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/DocumentLayout.vue | +11 | −33 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/section/SectionContainer.vue | +7 | −0 | Go to diff View file |
A | plugins/artidoc/scripts/artidoc/src/components/sidebar/DocumentSidebar.vue | +145 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/components/toc/TableOfContents.vue | +3 | −9 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/themes/artidoc.scss | +1 | −0 | Go to diff View file |
M | plugins/artidoc/scripts/artidoc/src/themes/includes/_viewport-breakpoint.scss | +4 | −0 | Go to diff View file |