Skip to content

: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.

1.8 KB
Raw Blame
.profile-package {
    display: inline-flex;
    align-items: center;

    &:not(:first-child) {
        margin-left: 0.375rem;
    }
}

.profile-name {
    margin-left: 0.375rem;
    font-weight: 500;
}

.ProfilePicture {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    user-select: none;
    border-radius: 50%;

    &.xxl {
        width: 48px;
        height: 48px;
        font-size: 20px;
        line-height: 48px;
    }

    &.xl {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
    }

    &.lg {
        width: 32px;
        height: 32px;
        font-size: 18px; // 2/3 of width/height in the smallest size, 1/2 in the biggest, interpolated in between
        line-height: 32px;
    }

    &.md {
        width: 24px;
        height: 24px;
        font-size: 14px;
        line-height: 24px;
    }

    &.sm {
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 18px;
    }

    &.xs {
        width: 16px;
        height: 16px;
        font-size: 11px;
        line-height: 16px;
    }

    .Lettermark {
        width: inherit;
        height: inherit;
        font-size: inherit;
        line-height: inherit;
    }
}

.ProfileBubbles {
    display: flex;
    align-items: center;

    > * {
        outline: 0.125rem solid var(--color-bg-surface-primary);
    }

    > :not(:first-child) {
        margin-left: -0.125rem;
    }
}

.ProfileBubbles__more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.05em;
    user-select: none;
    background: var(--color-accent);
    border-radius: 50%;
}