: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(homepage): prevent input text overlapping "Tab to search" button (#63629)
Paul D'Ambraa611a4a91fcd
diff --git a/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx b/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsxindex 69dfcf7b3169..4abe8f0d43b8 100644--- a/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx+++ b/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx@@ -56,7 +56,7 @@ function IdleInput(): JSX.Element {htmlFor="homepage-input"className="min-h-[40px] group input-like flex flex-col items-start relative w-full bg-fill-input border border-primary focus-within:ring-primary rounded-lg justify-stretch overflow-hidden">- <div className="flex w-full py-1 px-1 max-h-[300px]">+ <div className="flex w-full py-1 px-1 max-h-[300px] items-end gap-1">{!query && (<span className="text-tertiary pointer-events-none absolute left-2.5 top-2 flex items-center gap-1"><span className="text-tertiary">What can I help you with?</span>@@ -69,7 +69,7 @@ function IdleInput(): JSX.Element {ref={inputRef}id="homepage-input"data-attr="homepage-input"- wrapperClassName="w-full"+ wrapperClassName="flex-1 min-w-0"value={query}onChange={(e) => {const value = e.target.value@@ -117,8 +117,8 @@ function IdleInput(): JSX.Element {className="w-full px-1 py-1 text-sm focus:outline-none border-transparent resize-none bg-transparent"autoFocus/>- <div className="flex items-end shrink-0 absolute right-[0.5rem] bottom-[0.2rem]">- <div className="flex items-center gap-1 ">+ <div className="flex items-end shrink-0">+ <div className="flex items-center gap-1"><ButtonPrimitivesize="xs"className="text-tertiary hover:text-primary shrink-0"