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.2 KB
Raw Blame
.LemonDivider {
    flex-shrink: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border-primary);

    &--dashed {
        background: repeating-linear-gradient(
            to right,
            var(--color-border-primary),
            var(--color-border-primary) 4px,
            transparent 4px,
            transparent 8px
        );
    }

    &--thick {
        height: 3px;
    }

    &--vertical {
        align-self: stretch;
        width: 1px;
        height: auto;

        &.LemonDivider--thick {
            width: 3px;
        }

        &.LemonDivider--dashed {
            background: repeating-linear-gradient(
                to bottom,
                var(--color-border-primary),
                var(--color-border-primary) 4px,
                transparent 4px,
                transparent 8px
            );
        }
    }

    &--with-label {
        display: flex;
        height: unset;
        background: none;

        &::before,
        &::after {
            position: relative;
            top: 50%;
            display: block;
            width: 50%;
            content: '';
            border-top: 1px solid var(--color-border-primary);
            transform: translateY(50%);
        }
    }
}