Align Subforums

javakhir

Well-known member
Node/forum list > Sub-forums display style: > Listed below node

is that possible to align subforums icons?
 

Attachments

  • subforums.webp
    subforums.webp
    45.7 KB · Views: 24
Upvote 0
Try this in your extra.less template, maybe this code still works...
Less:
.node-subNodeFlatList {
    >li {
        display: inline-block;
        margin-right: 0;
        float: left;
        width: 30%;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }
}
 
Code:
.node-subNodeFlatList {
    >li {
        display: table-cell;
        margin-right: 0;
        float: left;
        width: 12%;
        padding: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }
}


I have add padding, for now is good
 
Less:
.node-subNodeFlatList {
    >li {
        display: table-cell;
        margin-right: 0;
        float: left;
        width: 30%;
        padding: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
        white-space: nowrap;
    }
}

this does not cuts the subforum titles
 
Back
Top Bottom