Skip to content

Conversation

TheMineWay
Copy link
Contributor

@TheMineWay TheMineWay commented Aug 3, 2025

Description

When using withColumnBorders along with rowSpan cells, some borders do not appear (#8088).
imagen

Why

Table styles define that borders are given at the end pof each cell that is not last child. The issue is that when rowspan is used, even it seems like a cell is not the last one, for the DOM it is.

Solution

In order to fix this via CSS I decided to add another rule that places a border at the start of every cell if it is not the first one. This fixes the cases where rowspan is used.
imagen

I choose this solution as I did not found any other way to fix this without requiring the developer to provide manually a "lastCell" indicator.

@jvllmr
Copy link
Contributor

jvllmr commented Aug 3, 2025

Thank you for creating this PR. I initially wanted to provide a solution myself, but failed to do so because of limited time.

@rtivital rtivital merged commit e929720 into mantinedev:master Aug 5, 2025
@rtivital
Copy link
Member

rtivital commented Aug 5, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants