:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(desktop): keep comment placeholders on one line (#79711)
Shy Altercb59bec11798
diff --git a/products/desktop/packages/ui/src/features/canvas/components/mention-composer.css b/products/desktop/packages/ui/src/features/canvas/components/mention-composer.cssindex 656d9a393b22..7f454754baa4 100644--- a/products/desktop/packages/ui/src/features/canvas/components/mention-composer.css+++ b/products/desktop/packages/ui/src/features/canvas/components/mention-composer.css@@ -1,10 +1,17 @@/* Tiptap placeholder - targets the empty first paragraph */+.mention-composer p.is-editor-empty:first-child {+ position: relative;+}+.mention-composer p.is-editor-empty:first-child::before {- content: attr(data-placeholder);+ position: absolute;+ inset: 0;+ overflow: hidden;color: var(--muted-foreground);+ text-overflow: ellipsis;+ white-space: nowrap;pointer-events: none;- float: left;- height: 0;+ content: attr(data-placeholder);}.mention-composer .ProseMirror-selectednode {