Frontmatter
| id | 9623 |
| title | Grid Multi-Body: Fix .neo-last-column border styling logic across multiple bodies |
| state | Closed |
| labels | bugaigrid |
| assignees | tobiu |
| createdAt | Apr 1, 2026, 10:03 PM |
| updatedAt | Apr 1, 2026, 10:25 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9623 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 9486 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 1, 2026, 10:25 PM |
Grid Multi-Body: Fix .neo-last-column border styling logic across multiple bodies
Closedbugaigrid
Problem
The
.neo-last-columnCSS class removes the right border of a grid column because the Grid Container itself provides the bounding border. In the single-body architecture, this was correctly applied to the single rightmost column.With the introduction of the multi-body architecture,
isLastColumnevaluates totruefor the last column of each sub-grid body (bodyStart,body, andbodyEnd). As a result, all three bodies were rendering a.neo-last-columnwithout a right border, causing missing vertical dividers between sections.Solution
Updated the
isLastColumnlogic insrc/grid/Row.mjsto evaluate the global grid layout rather than just the local sub-grid count:.neo-last-columnif there are no center columns and no end columns..neo-last-columnif there are no end columns..neo-last-column(as it represents the absolute rightmost boundary).