: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(experiments): Align the refresh button timestamp with its label (#110053)
Juraj Majerik4d30b8837431
diff --git a/products/experiments/frontend/components/ExperimentMetaBar/ExperimentLastRefreshText.tsx b/products/experiments/frontend/components/ExperimentMetaBar/ExperimentLastRefreshText.tsxindex e30ea24db7eb..f2dd62ea8bed 100644--- a/products/experiments/frontend/components/ExperimentMetaBar/ExperimentLastRefreshText.tsx+++ b/products/experiments/frontend/components/ExperimentMetaBar/ExperimentLastRefreshText.tsx@@ -12,5 +12,10 @@ export function ExperimentLastRefreshText({ lastRefresh }: { lastRefresh: string? 'text-warning': ''- return <span className={colorClass}>{lastRefresh ? <TZLabel time={lastRefresh} /> : 'a while ago'}</span>+ return (+ <span className={colorClass}>+ {/* align-baseline overrides TZLabel's align-middle, which sits the text a pixel below its siblings */}+ {lastRefresh ? <TZLabel time={lastRefresh} className="align-baseline" /> : 'a while ago'}+ </span>+ )}