FKB Pro - Thème social

Pouvez-vous essayer ce CSS ?

Je ne suis pas sûr si l’affichage de la couleur de la catégorie parente rend bien ici. :thinking:

.badge-category__wrapper {
    margin-top: 0 !important;

    .badge-category {
        border-radius: 0 0 var(--d-default-border-radius) var(--d-default-border-radius);
        padding-inline: calc(var(--badge-category-padding-h) * 3);
        line-height: normal;

        &.--has-parent {
            padding-inline-end: calc(var(--badge-category-padding-h) * 2.5);
        }

        &.--has-parent:before {
            border-radius: 0 0 0 var(--d-default-border-radius);
            background: linear-gradient(90deg, var(--parent-category-badge-color) 46%, var(--category-badge-color) 50%);
            width: calc(var(--badge-category-padding-h) * 3);
        }

        svg {
          width: 0.8em !important;
          height: 0.8em !important;
        }
    }
}

2 « J'aime »