From b06c18ecf6cef3ac4f964f17840290974f336e03 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 7 Jan 2026 22:41:10 -0500 Subject: [PATCH] Update Headers and Dividers to clear aligned images (#11108) --- CLAUDE.md | 1 + shared/editor/components/Styles.ts | 2 ++ 2 files changed, 3 insertions(+) create mode 120000 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000000..47dc3e3d86 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index a22c73ef5a..cb10294afa 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -600,6 +600,7 @@ width: 100%; line-height: inherit; font-weight: 600; cursor: text; + clear: both; & + p, // accounts for block insert trigger and other widgets between heading and paragraph @@ -1603,6 +1604,7 @@ hr { position: relative; height: 1em; border: 0; + clear: both; } hr::before {