Collapsible Node Categories

Collapsible Node Categories

Which solution?
I'm guessing the CSS change of icons to chevrons, posted back here:
 
Yes, that's correct. Change icons to chevrons.

But it would be very nice if someone could find a solution to fix the issue without having to change the button design.
 
@ioneti
Problem solved. I have commented margin-right of &is-active:before

Here is the complete code to have original buttons (not chevrons ones)

CSS:
/* Node Collapse */
.block--category
{
    .collapseTrigger
    {
        opacity: 0.5;
        transition: opacity 0.3s;
        margin-right: 10px;

        &.is-active:before
        {
            content: "\f205";
            transform: scale(-1, 1);
            //margin-right: -8px;
        }
        &:before
        {
            content: "\f205";
            font-size: 80%;
        }
    }
    .block-container:hover .collapseTrigger
    {
        opacity: 1;
    }
}


.collapsible-nodes
{
        .block-header
        {
            display: flex;
        }
        .block-header--left
        {
            margin-right: auto;
            max-width: 100%;
        }
}
.block-body.block-body--collapsible
{
    transition: all 0.3s cubic-bezier(0.43, 0.01, 0.5, 1.5);
    -webkit-transition-property: all, -xf-opacity;
    transition-property: all, -xf-opacity;
    overflow-y: hidden;
    height: 0;
    -webkit-transition-property: all, -xf-height;
    transition-property: all, -xf-height;
}
 
@ioneti
Problem solved. I have commented margin-right of &is-active:before

Here is the complete code to have original buttons (not chevrons ones)

CSS:
/* Node Collapse */
.block--category
{
    .collapseTrigger
    {
        opacity: 0.5;
        transition: opacity 0.3s;
        margin-right: 10px;

        &.is-active:before
        {
            content: "\f205";
            transform: scale(-1, 1);
            //margin-right: -8px;
        }
        &:before
        {
            content: "\f205";
            font-size: 80%;
        }
    }
    .block-container:hover .collapseTrigger
    {
        opacity: 1;
    }
}


.collapsible-nodes
{
        .block-header
        {
            display: flex;
        }
        .block-header--left
        {
            margin-right: auto;
            max-width: 100%;
        }
}
.block-body.block-body--collapsible
{
    transition: all 0.3s cubic-bezier(0.43, 0.01, 0.5, 1.5);
    -webkit-transition-property: all, -xf-opacity;
    transition-property: all, -xf-opacity;
    overflow-y: hidden;
    height: 0;
    -webkit-transition-property: all, -xf-height;
    transition-property: all, -xf-height;
}
Un extra.less?
 
Top Bottom