stable

Clone or download

Read-only

fix: design issues

* When we add a new section, we should have the focus on the title input, and not the Add new section button. * When we add a new section, the new form should be visible as much as possible. The use of an external library allow us to scroll if needed. * When there is more than 10 element in the TOC (on Mac, more than 100 on Linux − thanks to system fonts) the item number should be visible. Part of story #38288: add a new section Change-Id: If5bdf2ff699d8cd7de5a1c95f58c70f0d9836f9b

Modified Files

Name
M plugins/artidoc/scripts/artidoc/package.json +2 −1 Go to diff View file
M plugins/artidoc/scripts/artidoc/pnpm-lock.yaml +13 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/SectionHeader.vue +2 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/TableOfContents.vue +2 −0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useScrollToAnchor.ts +12 −4 Go to diff View file