MudSimpleTable: Remove redundant bottom border from the last row header#11628
Merged
danielchalmers merged 1 commit intoMudBlazor:devfrom Jul 18, 2025
Merged
Conversation
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a visual bug by removing the extra bottom border under the last row header (<th>) in MudSimpleTable.
- Expanded the CSS selector for
tr:last-childto target both<td>and<th>cells. - Ensures the bottom border is disabled on the last row header.
Comments suppressed due to low confidence (2)
src/MudBlazor/Styles/components/_simpletable.scss:18
- There's no test coverage for this visual change. If you have a visual or CSS regression test suite, please add a test to confirm the bottom border is removed for the last row header.
> td, > th {
|
|
||
| > tr:last-child { | ||
| > td { | ||
| > td, > th { |
There was a problem hiding this comment.
[nitpick] The selector now removes the bottom border for all elements in the last row. Consider targeting only row headers (e.g., > th[scope=\"row\"]) to avoid unintentionally affecting other header cells or future markup.
Suggested change
| > td, > th { | |
| > td, > th[scope="row"] { |
7 tasks
Member
|
Thank you! |
This was referenced Jul 21, 2025
Closed
Closed
This was referenced Jul 29, 2025
This was referenced Oct 6, 2025
This was referenced Nov 12, 2025
This was referenced Dec 12, 2025
Closed
Closed
This was referenced Dec 29, 2025
This was referenced Jan 9, 2026
Closed
This was referenced Feb 10, 2026
Closed
This was referenced Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
There is an extra bottom border under the last
<th>(row header) in the table. It makes the table look weird.I changed the CSS so the last row header (
<th scope="row">) does not show a bottom border.Type of change:
Code sample to show the issue:
Before:


After:
Checklist:
dev)