Files
outline/app/hooks
Tom Moor 09fe5d6785 feat: Auto-collapse tall code blocks (#11967)
* Styling finetuning

* test

* Refactor collapsible code blocks: line-based collapse, styling fixes, use EditorStyleHelper

- Use line count (12+) instead of DOM height measurement for collapse threshold
- Handle missing dictionary gracefully for server-side rendering
- Add addToHistory:false to toggleCodeBlockCollapse command
- Move .code-block class name to EditorStyleHelper
- Use neutral button variant for collapse toggle, show on hover/focus
- Fix fade overlay border-radius and inset, clip line numbers via clip-path
- Remove suppressAutoExpand hack; preventDefault already handles it
2026-04-05 17:54:54 -04:00
..
2025-08-31 06:35:35 -04:00
tsc
2026-03-02 07:21:23 -05:00
2025-05-03 19:40:18 -04:00
2025-10-07 20:36:53 -04:00