: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(toolbar): restore lost action step caption and hint styles (#68127)
Thomas Obermüller5136eca1c413
diff --git a/frontend/src/toolbar/actions/ActionsTab.scss b/frontend/src/toolbar/actions/ActionsTab.scssdeleted file mode 100644index 1e356ffb7da0..000000000000--- a/frontend/src/toolbar/actions/ActionsTab.scss+++ /dev/null@@ -1,14 +0,0 @@-.action-field {- transition: opacity 0.5s;-- .action-field-hint {- margin-top: 4px;- font-size: 12px;- }-- .action-field-caption {- padding: 8px 0;- font-size: 0.8em;- color: rgb(0 0 0 / 50%);- }-}diff --git a/frontend/src/toolbar/actions/StepField.tsx b/frontend/src/toolbar/actions/StepField.tsxindex 9d59bc84b6ab..43d417530a97 100644--- a/frontend/src/toolbar/actions/StepField.tsx+++ b/frontend/src/toolbar/actions/StepField.tsx@@ -44,14 +44,14 @@ export function StepField({ step, item, label, caption }: StepFieldProps): JSX.Ereturn (<>- <div className={clsx('action-field my-1', selected && 'action-field-selected')}>+ <div className="my-1"><div>{item === 'href' && step?.href && <SelectorCount selector={hrefSelector(step)} />}{item === 'selector' && step?.selector && <SelectorCount selector={step.selector} />}<Field name={`${item}_selected`} noStyle>{({ onChange, value }) => <LemonCheckbox label={label} onChange={onChange} checked={value} />}</Field>- {caption && <div className="action-field-caption">{caption}</div>}+ {caption && <div className="py-2 text-xs text-secondary">{caption}</div>}</div>{['url', 'href', 'text'].includes(item) ? (<Field name={`${item}_matching`}>@@ -98,7 +98,7 @@ export function StepField({ step, item, label, caption }: StepFieldProps): JSX.E}}</Field>{item === 'url' && step?.url_matching && step.url_matching in URL_MATCHING_HINTS ? (- <div className="action-field-hint">{URL_MATCHING_HINTS[step.url_matching]}</div>+ <div className="mt-1 text-xs">{URL_MATCHING_HINTS[step.url_matching]}</div>) : null}</div></>