]> BookStack Code Mirror - bookstack/commit
Updated visual consistency of lists and markdown task list rendering
authorDan Brown <redacted>
Mon, 23 Aug 2021 21:31:07 +0000 (22:31 +0100)
committerDan Brown <redacted>
Mon, 23 Aug 2021 21:31:07 +0000 (22:31 +0100)
commit4fd5dbcfdd0778afd9423d25042e3f531a5b2c6d
treeee74e8926af777dfbbd40491065f9b308df49506
parent613228fab2f10351571442b4f30c34f9a3723a61
Updated visual consistency of lists and markdown task list rendering

- Numbered and bullet list margins have been made consistent
   - Numbered lists margins were increase at some point to handle 3-digit
  numbers, Normal bullet margins updated to match this.
- Consistent margin for sub-lists.
- System back-end markdown renderer (For pages) updated with a custom
  list item renderer to apply class for to align with front-end renderer.
   - This means that task list items will be consistent with the preview
     and not render a number/bullet.
- Indentation styles for task list items fixed to be visually indented.

For #2854 and #2837
app/Entities/Tools/Markdown/CustomListItemRenderer.php [new file with mode: 0644]
app/Entities/Tools/PageContent.php
resources/sass/_text.scss