Fixes & small UX improvements of the documentation styling
honzatmn opened this issue · comments
Description
A collection of fixes and small improvements for Default Documentation Exporter, usually reported by customers.
Related resources
Slack discussion: across several channels, also reported by customers
User docs ticket: none
Wireframe
- none
Design
- none
Acceptance criteria
- Images now use Caption as alt text. If there is no caption, the
alt
is empty. Test here - It's possible to copy the code with "Copy" button on the code block. Test here
- If the page has tabs, they stay sticky when the page is scrolled. Test here
- Icons in Callout block are now displayed also in Safari. Test here
- A font in tables gets boldened the same way as in the editor – header column and row are bold automatically, the other cells only when the text inside is bold. Test here
- Spacing in the ordered list is aligned with the other blocks vertically. Test here
- Typography tokens have a preview matching the token definition, not a general one. Test here
Tested
AC1 - passed
AC2 - passed
AC3 - passed
AC4 - passed
AC5 - passed
AC6 - passed
AC7 - passed
Tested on PROD, can be reviewed now
Added to RS, can be closed now