@devries-cameron20 / t3code-1 / commits / 3ec095bc8b
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): collapsed composer centers drafts that start with a list (#17820)

Co-authored-by: Claude <noreply@anthropic.com>

Samuel Soeller committed Oct 18, 2026 at 22:12 UTC 3ec095bc8bbed0fea72a3a83a91df265d195e766
1 file changed +11
apps/web/src/index.css
+11
@@ -1927,6 +1927,17 @@ code {
1927 margin: 0.65rem 0;
1928 }
1929
1930 +/* Block spacing separates blocks, not the draft from the composer edge. A
1931 + leading list or quote would otherwise push the first line down, and the
1932 + one-line resting composer clips it. */
1933 +.composer-tiptap > :first-child {
1934 + margin-top: 0;
1935 +}
1936 +
1937 +.composer-tiptap > :last-child {
1938 + margin-bottom: 0;
1939 +}
1940 +
1941 /* A heading at the top of a draft should not push the first line down. */
1942 .composer-tiptap :is(h1, h2, h3, h4, h5, h6):first-child {
1943 margin-top: 0;