: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
.InsightDetails,
.CardMeta .InsightDetails {
// Including .CardMeta to increase specificity there, specifically for h5
font-size: 0.8125rem;
line-height: 1.5rem;
h5 {
margin-bottom: 0.125rem;
line-height: 1.5rem;
}
section:not(:last-child) {
margin-bottom: 0.5rem;
}
.LemonRow {
min-height: 2rem;
font-size: inherit;
}
}
.InsightDetails__footer {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 2rem;
.profile-package {
vertical-align: middle;
}
.taxonomic-breakdown-filter.tag-pill {
padding: 0;
font-size: 0.8125rem;
vertical-align: unset;
background: none;
border: none;
border-radius: 0;
}
}
.SeriesDisplay {
display: flex;
gap: 0.375rem;
align-items: start;
min-height: 1.5rem;
&:not(:last-child) {
margin-bottom: 0.25rem;
}
}
.SeriesDisplay__raw-name {
display: inline-flex;
align-items: center;
height: 1.25rem;
padding: 0 0.25rem;
margin: 0 0.25rem;
font-size: 0.6875rem;
font-weight: 600;
line-height: 1rem;
color: var(--color-text-secondary);
vertical-align: middle;
background: var(--color-accent-highlight-secondary);
border: 1px solid var(--color-accent-highlight-secondary-border);
border-radius: var(--radius-sm);
&.SeriesDisplay__raw-name--event::before,
&.SeriesDisplay__raw-name--action::before,
&.SeriesDisplay__raw-name--data-warehouse::before {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 1rem;
height: calc(100% + 2px);
margin-top: -1px;
margin-right: 0.25rem;
margin-left: calc(-0.25rem - 1px); // Align to overlay the container's border on the left
font-size: 0.625rem;
font-weight: 700;
line-height: 1rem;
color: var(--color-bg-surface-primary);
text-align: center;
background: var(--color-accent);
border-radius: inherit;
}
&.SeriesDisplay__raw-name--event::before {
content: 'E';
}
&.SeriesDisplay__raw-name--action::before {
content: 'A';
}
&.SeriesDisplay__raw-name--data-warehouse::before {
content: 'D';
}
}
.SeriesDisplay__value {
// inline-block (not inline-flex) so text-overflow can truncate a long value to one line; line-height
// matches height to keep it vertically centered without flex. vertical-align: middle matches
// .SeriesDisplay__raw-name so both tag styles sit on the same line.
display: inline-block;
max-width: 100%;
height: 1.25rem;
padding: 0 0.125rem;
overflow: hidden;
line-height: 1.25rem;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
background: var(--color-bg-surface-secondary);
border-width: 1px;
border-radius: var(--radius-sm);
}
.SeriesDisplay__condition {
display: flex;
line-height: 1.5rem;
}
.SeriesDisplay__arrow {
flex-shrink: 0;
margin-right: 0.25rem;
font-size: 1.25rem;
color: var(--color-text-secondary);
}